Germany to allow 'third gender' at birth
As many as one 2,000 people have characteristics of both sexes, known as "intersex" people.
Germany is to become Europe's first country to allow babies with characteristics of both sexes to be registered as neither male nor female.
Parents will be allowed to leave the gender blank on birth certificates, in effect creating a new categories of "indeterminate sex".
The move is aimed at removing pressure on parents to make quick decisions on sex assignment surgery for new-borns.
As many as one 2,000 people have characteristics of both sexes.
They are known as "intersex" people because they have a mixture of male and female chromosomes or even genitalia, which have characteristics of both genders.
The intense difficulty for parents is often that a gender has to be chosen very quickly so that the new child can be registered with the authorities.
Sometimes surgery is done on the baby to turn its physical characteristics as far as possible in one direction or the other, our correspondent says.
The law in Germany has been following a review of cases that revealed great unhappiness.
In one case, a person with no clear gender-defining genitalia was subjected to surgery. The person said many years later: "I am neither a man nor a woman. I will remain the patchwork created by doctors, bruised and scarred."
German passports, which currently list the holder's sex as M for male or F for female, will soon have a third designation, X, for intersex holders, according to the interior ministry.
It remains unclear what impact the change will have on marriage and partnership laws in Germany.
Current laws define marriage as a union between a man and a woman, and civil partnerships are reserved for same-sex couples.