The Monarchy in the UK is considered above the law, and as such can grant immunity to another, albeit in an indirect manner.
Many old laws are still in existence, although most are obsolete as they are overruled by statute law.
It is against the law to die inside the houses of parliament...