I'd known the Duke of Edinburgh over a period of 40 years, so I'd long been accustomed to his sense of humor.