The kid is in for a rough childhood.

MIAMI (Reuters) – A Florida judge has approved the adoption of a 22-month-old baby girl that will list three people as parents on her birth certificate — a married lesbian couple and a gay man.

The decision ends a two-year paternity fight between the couple and a friend of the women who donated his sperm to father the child but later sought a larger role in the girl’s life.

The ruling means the child’s birth certificate will include a biological father and both women as parents in an unusual arrangement approved recently by a Miami-Dade Circuit Court judge.

The women, Maria Italiano, 43, and Cher Filippazzo, 38, had made several unsuccessful attempts to become parents using fertility clinics.

They then turned to Italiano’s hair dresser, Massimiliano Gerina, and asked if he would provide his sperm for artificial insemination.

“When push came to shove, they figured he would understand the situation,” said Kenneth Kaplan, an attorney for the women.