The castle has been home to monarchs for almost a millennium and is still used for official duties and state events.