Australia, nsw mandates bottom surgery before document changes (or did back then at least). amusingly the federal government was much more lenient. The state is a federation though so states trump federal except where they have ceded power.
Technically I could have preserved cells for IVF or something but I’m not, and definitely wasn’t then, a millionaire.
Also since the law goes back before that was possible obvious eugenics is obvious.
I’m glad other nations are trying to make ammends in the beady-eye’d way of bean counters at least. Given that almost every traffic light here has surveillance cameras mounted on it and major political parties attend literal mask off Nazi rallies I suspect we’re a way off over here haha.