In 1997, the palace was designated a UNESCO World Heritage Site. The nomination described it as "the swan song of the spectacular art of the Baroque, from which it adopted all the features needed to create the illusions of multidirectional space". The king wanted a magnificent new royal court and administrative center for the Kingdom in a place protected from sea attack.