The only way to enter the palace is via a 'time slot ticket', which provides a 30-minute window for you to enter the palace building. These tickets cost €14 and can be purchased at the ticket office on the day of your trip, or from GetYourGuide.com (click here) prior to your visit.