Auto-translated
Storming a castle with a small army is sometimes successful. Without a quick battle, it's impossible; you won't be able to force them out.
It seems that in quick battles, waits/defenses are disabled even for the garrison.
And sometimes, an almost winning battle is lost, but with the enemy's supply cart destroyed.
The AI is what it is.