On Nov. 1, Germany became the first European nation to recognize a third gender for babies born with ambiguous genitalia. No longer will newborns be rigidly assigned to male or female.
The new law doesn't require parents to declare any gender for such children, allowing parents to declare gender "undetermined" or "unspecified" on their birth certificates.
The aim of the law was to take the pressure off parents who might make hasty decisions on sex-assignment surgery for newborns, and to fight discrimination against those who are intersex.
One intersex person, according to the BBC, said years later, "I am neither a man nor a woman. I will remain the patchwork created by doctors, bruised and scarred."
An estimated one in 2,000 children born each year is neither boy nor girl -- they are intersex, part of a group of about 60 conditions that fall under the diagnosis of disorders of sexual development, an umbrella term for those with atypical chromosomes, gonads (ovaries or testes), or unusually developed genitalia.
Gender identification is still not well understood, but most experts in the United States say that when sex cannot be determined, it's better to use the best available information to assign it then to wait and monitor the child's psychological and physical development before undertaking surgery, if at all.
New York City psychiatrist Dr. Jack Drescher, who specializes in issues of gender identification, said the new German law "sounds like a good thing."
"Some people have life-endangering conditions that require surgery, but most kids do not," he said. "You can make a gender assignment without surgery, and then see how identity develops. The science of knowing how a child will develop any gender identity is not very accurate. ... Nobody can answer the questions about why this happens. It's like the mystery of why people are gay."
A report filed to the European Commission in 2011 described intersex people as "differ[ent] from trans [sexual or gender] people, as their status is not gender related but instead relates to their biological makeup (genetic, hormonal and physical features), which is neither exclusively male nor exclusively female, but is typical of both at once or not clearly defined as either.
"These features can manifest themselves in secondary sexual characteristics, such as muscle mass, hair distribution, breasts and stature; primary sexual characteristics such as reproductive organs and genitalia; or in chromosomal structures and hormones."
The report also gives an overview of the discrimination faced by intersex and transgender people in the realm of employment, as well as levels of harassment, violence and bias crimes.
Already, Australia and Nepal allow adults to mark male, female or a "third gender" on their official documents. In June, a 52-year-old Australian, Norrie May-Welby, became the world's first recognized "genderless" person after winning a legal appeal to keep an "unspecified" gender status for life.
German passports will have a third designation other than M or F -- X, for intersex, according to the Interior Ministry.
In neighboring France, gender issues are still controversial, according to a news report on France 24.
In 2011, dozens of French lawmakers from that strongly Catholic country signed a petition for "gender theory" to be withdrawn from school textbooks.
The U.S. website Catholic Online has also opposed the German law, writing that "(a)s the world is being dragged into a new state, where gender is a choice, but sexual activity is not, we reverse two more pillars of civilization."
One Maryland mother of a newborn also told the Baby Zone that she would rather see babies assigned gender at birth.
"Parenting is stressful enough without extra limitations, especially if you don't know the gender of your child," she told the parenting website. "Children need stability and certainty."
Historically, children born with both male and female genitalia were called hermaphrodites, named for the handsome Greek god who had dual sexuality. And as little as a decade ago, the medical community thought of gender as a slate that could be erased and then redrawn.
But now, many are challenging the ethical basis of surgery, knowing that gender identity is complex, and doctors can sometimes get it wrong, not knowing how a child will feel about their gender assignment when they grow up.
"Back in the middle of the 20th century, it was called a 'psychiatric emergency,'" said Drescher. "When these kids were born, you didn't call the psychiatrist, you called a surgeon."
The prevailing theory on how to treat children with ambiguous genitalia was put forward by Dr. John Money at Johns Hopkins University, who held that gender was malleable. He argued that social and environmental cues -- how parents raised a child -- interacted with a child's genes and hormones to shape whether the person thought of themselves as male or female.
But in one 1966 case, known as "John/Joan," his theories became controversial. He advised the parents of a boy whose penis had been severed in a botched circumcision to have the child fully castrated, removing his testicles, as well, and to raise him as a girl.
"Money presented the case as a successful case of transition, but it was not," said Drescher. "When the boy was around 15, he transitioned back to a boy and married a woman. But at 38, he committed suicide."
Drescher said that now some doctors are still "practicing that model." But in the 1990s, with the advent of the Internet, survivors of these gender surgeries have come forward "not happy with the outcome."
Such was the case with Jim Bruce, a 36-year-old writer from Montana, who was born with XY male chromosomes but ambiguous genitals. Doctors couldn't be sure if he had a large clitoris or a small penis and were convinced he could never live a "satisfactory life" as a man.
So shortly after his birth in 1976, Bruce's external organ and testes were surgically removed and he was raised as a girl. He was given female hormones at age 12.
"I knew that I wasn't a girl," he said. "I was unhappy, but it was really difficult to ask questions."
At 18, he was set for a vaginoplasty. But depressed and knowing something was wrong, he demanded medical records. What he found out was horrifying. "I was sterilized at birth -- and no one ever told me."
Bruce was born with a DSD that prevented his body from producing enough testosterone to properly develop his genitals. After learning the truth, he changed back to a man, taking testosterone shots and having his breasts removed. Surgery rendered him infertile.
Today, he advocates for others in an organization called the Interface Project, trying to normalize perceptions of those who are intersex.
"I think any measure, legal or otherwise, granting a parent of any child more time to carefully consider how best to honor and preserve their child's emotional and physical health is encouraging," Bruce wrote in an email to ABCNews.com after the law went into effect.
But Anne Tamar-Mattis, executive director for California-based legal group Advocates for Informed Choice, worries that the German law "invites labeling and stigma."