Yes. Require people to "identify" according to their chromosomes, with that less than one percent with truly screwed-up chromosomes and completely indeterminant features making a choice and sticking with it. And if that latter group is misgendered, require them to put up with it.
Included in this would be regulating use of hormones and other chemical or surgical aspects of trans practice--even for those cases already in progress--banning counseling in favor of transition, and sanctions against public presentation of oneself in contradiction of their genetic sex. (This latter point is somewhat subjective and of course subject to context--undercover detectives and actual costume parties not affected--and so would be used only in egregious cases.)