While it was owned by the Swedish state, the palace was used by King Gustav III of Sweden, son of Louisa Ulrika, as a summer residence, and a grand ceremonial court life was performed at the palace, which is considered to have been a great age for the palace, during which it was known for the elaborate masquerades and grand theatrical festivities and tournaments performed in the gardens. During the reign of Gustav IV Adolf of Sweden (reign 1792–1809) and Charles XIII of Sweden (reign 1809–1818) the palace was gradually used more sporadically. In 1797, it was the place of the great festivities when the King's bride, Frederica of Baden, was received there upon her arrival in Sweden, during which the last so called carousel, or tournament, was staged in the palace garden. After the Coup of 1809, the deposed Gustav IV Adolf was kept here under guard in the Chinese Drawing Room for eleven days.