How rituals were used to legitimise Gyanendra’s reign after the palace massacre and in Nepal’s transition to republic