For example, the Treason Felony Act 1848 refers specifically to harm to the Queen:
If any person whatsoever shall, within the United Kingdom or without, compass, imagine, invent, devise, or intend to deprive or depose our Most Gracious Lady the Queen, from the style, honour, or royal name of the imperial crown of the United Kingdom, or of any other of her Majesty’s dominions and countries...
Currently we do not have a "Gracious Lady Queen" with "the imperial crown", but a King. What is the status of this law? Is it now impossible to break it, or does "Queen" get interpreted as "King" when the head is state is male? I may be worth noting that the law was written when we had a previous "Gracious Lady Queen", and it appears the text has not changed since 1891, so this may not be a new issue as we had a King from 1901 to 1952.