Then the constitution that would prohibit trans rights would need to be changed first. If politicians want to remove the constitutional right to privacy in order to allow spying on your own constituents, then go ahead and own the fact that you want to undermine the right to privacy. Don’t hide behind “oh, this will totally not affect law-abiding citizens”.
Then that’l require more fighting. I however doubt that the constitution of most countries place huge blocks on giving people more freedom.