The passive AI during the sieges is not fixed. The AI still stays under the fire untill his catapult/ballistas are destroyed or finish the ammo.
About the naval invasions - they invade and the fleet leaves. So just a minor defeat leads to whole stacks destroyed.
Bookmarks