A royal lesson in keeping things under your hat