I don't know about Imane Khelif, but in Indonesia, we have Aprilio Manganang, a former women's volleyball star who was later identified as male due to a medical condition called hypospadias. After corrective procedures, Aprilio now serves in the Indonesian Army.