If your archers are participating then the gates are open. The cav simply rode inside the city and tore it up. The archers aren't shooting up and over the walls. The game isn't really accurate in this way.