An “audacious raid” was carried out to steal a £2.8 million gold toilet from Blenheim Palace, a court has heard.