I don't know how this can be legal.
A Texas agency has ordered workers to dress “in a manner consistent with their biological gender.” Sid Miller, Texas Agriculture Commissioner, issued the order. Those Who Don’t Obey Could Be Fired Anyone who doesn’t obey the order could lose their job and the policy applies to all Texas...
manandhome.com
It's not. However, we get to go through the stupidity of having to prove that it is not legal and fight through a court system where the deck may or may not be stacked.
This law and others, including the bathroom laws, assume guilt and the burden of proof falls on the defendant. For example, a worker in the DOA is non-binary and intersex. Doesn't matter the sex, but someone calls them out for wearing the "wrong clothes." They lose their job. The burden of proof falls on the plaintiff or prosecutor.
Currently, there is a bathroom law in Florida that follows the same ideas. Except Florida can force an individual to genital exams and pull DNA. I should not have to prove I'm intersex and who gets to decide? The state? It's almost like that little bag of weed that is "mysteriously" dropped at an arrest.
There are so many fallacies with these states' logic. "Sex assigned at birth" makes a lot of assumptions. It assumes doctors always get it right (they don't). There may have been preceding surgeries to "correct" anatomy (parents made decisions on the sex). External anatomy always matches internal anatomy (it doesn't). Sex hormones match external or external anatomy (they don't).
When you look at a person, you make assumptions of their sex based on secondary sex characteristics. People don't see the primary sex characteristics - particularly internal anatomy. We make the assumption based on clothes, hair style, facial shape, breast anatomy, body shape, fat distribution, gait pattern, speech/language, etc. Under most circumstances, external anatomy is not part of that assumption.
Stop trying to force everyone into your nice-little-clean-cut-white-Christian-male-female box. Not everyone fits that mold!