Article 99 of the French Civil Code
The rectification of civil status records is ordered by the president of the court. The rectification of the indication of sex and, where applicable, first names is ordered at the request of any person with a variation in genital development or, if he or she is a minor, at the request of his or her legal representatives, if it is medically established that his or her sex does not correspond…