That was my biggest concern about the wonderful looking siege system.
When i first saw the videos of it (2016?) my first thought was "damn this is great", and the second "how the heck shall the braindead AI every handle that" after i remembered the hundrets of hours i spent in M&B and Warband sieges.
Oh btw, R.I.P. David, you're missed.