On Friday Johnson's office had to apologise to the royal family for holding staff parties the night before Prince Philip's funeral last year.