DNA and DNA only should determine which bathroom anyone uses.
Even when a person with XY chromosomes has a condition that causes her to be born, grow, and live as a (sterile) female?