Refurbishing a 400-year-old royal house – how do you do justice to a masterpiece while bringing it into the 21st century?