It was the main entrance to the castle, and a formidable obstacle to the enemy.
Enemies rarely attempted to enter through the main entrance of the castle, but you can recreate an attempt while you are there.