Someone can present anyway they want, that doesn't change their biological sex. If some countries look at your passport and think you look like a gender that doesn't match their biological sex, so what?
But biological sex is a critical part of our species, and our society, so you can't just ignore it and say the government doesn't need to know