Green’s Dictionary of Slang

his (royal) highness n.

[late 19C+] used by a woman as a sarcastically ‘respectful’ description of her husband; the implication is of laziness, or someone considered to be pompous, overbearing.