In the days of Charles X, when they were built, they served as the main entrance to the fortress. The gates are decorated with appropriate inscriptions and royal arms. In the old days there was a drawbridge.