Bit of a thought experiment, plus curious as to how much people know about intersex conditions / DSDs.
This is slightly Black Mirror, although not totally beyond the realms of possibility. If there ever came a point where anything specifically related to being male or female required a DNA test to determine your sex before participating, what would happen to intersex people whose chromosomes didn't match their outward appearance (i.e. genotype and phenotype don't match)?