Like much else in their orbit, royal mourning and funerals are dictated by protocol and extensive preparation.