I think in relation to trans men there is the interesting case of Ewan Forbes-Sempill
"An obituary reported that 'Dr Forbes-Sempill went about her change of gender in the quietest possible manner. She applied to the Sheriff of Aberdeen, and acquired a warrant for birth re-registration. Then, on 12 September 1952, there appeared a notice in the advertisement columns of Aberdeen's The Press and Journal, which stated that henceforth Dr Forbes-Sempill wished to be known as Dr Ewan Forbes-Sempill.' Three weeks later, he married his housekeeper, Isabella 'Pat' Mitchell.The question of inheritance only raised its head in 1965, when Ewan's elder brother, the 19th Lord Sempill, died. In Scotland,
a barony can pass through the female line if there are no sons in the family, so Ewan's niece got that title, and it was assumed that Ewan would inherit the family baronetcy, Forbes of Craigievar. But a cousin, John Forbes-Sempill, challenged Ewan's succession on the grounds that that title could only pass to a male heir. The case was taken to the Scottish Court of Session, which ruled in favour of Ewan. The cousin fought on until, in 1968, James Callaghan, the then home secretary, upheld the Scottish court's decision: he ordered that the name of Sir Ewan Forbes of Craigievar be entered in the Roll of Baronets. In theory, this should have set a precedent, but details of the case were kept secret for years, meaning it could have no bearing on subsequent legal rulings. Indeed, official records have only just been released to the National Archives of Scotland, ending a 50-year mystery over the case of Dr Forbes-Sempill. "
Many of these decisions have been made by people in power to protect privlage. And the case of Dr ewan demonstrates none of these things are new creations