If the enemy has only 1 unit in the city defense, you can win the battle immediately with Expert Earthquake! (500 Exp if units have not been defeated).
That is, you can win the battle by using Expert Earthquake if the enemy has only one stack defending the castle (its size doesn't matter). Has anyone encountered this bug? For some reason, I can't make this trick work.