Prince William broke one big royal rule for a very special reason recently