The government should put microchips in all of us. And karyotype everyone.
And, the microchips only track your sex hormones level. And if someone is found to have a sex hormone level that does not match their genetic sex (chromosomal intersex people are exempt), then WEE WOO WEE WOO the military shows up to take them to a detainment camp for re-education and hormone normalization therapy.

We would have a new golden age of civilization if we took drastic measures to stamp out transgenderism once and for all.