Social insurance is mandatory for all citizens and determined through a sex‐based social security numbering system, whereby all babies assigned female at birth receive an ID‐number that is distinguishable from those assigned male at birth. Since no other option than F or M exists, many intersex babies have to undergo compulsory, cosmetic surgical procedures in order to fit into the binary gender system and receive an ID‐number.
(Emphasis added.)
German social insurance numbers are male/female coded as well, I imagine similar things happen there.