Here’s why Prince William worked as a spy for three weeks