Staff at Blenheim Palace were awoken by the sound of breaking glass and a noise which sounded like an exploding boiler, Oxford Crown Court has heard.