PHOENIX — The same-sex spouse of a birth mother is entitled to the same legal parental presumptions and rights as if she were a man, the Arizona Court of Appeals ruled Tuesday.

In the first case of its kind in Arizona, the judges rejected the arguments by the biological mother of a child that the Arizona laws determining who is legally presumed the parent of a child only apply when that other person is a male. That, however, undermines the historic 2014 U.S. Supreme Court ruling that same-sex marriages are entitled to the same legal protections as traditional heterosexual unions, Appellate Judge Philip Espinosa said.

What makes that important is that Arizona law spells out that a man is presumed to be the father of a child if he and the mother were married at any time within 10 months immediately preceding the birth. Tuesday’s ruling, unless overturned by the Arizona Supreme Court, means that while the law was written with a father in mind, judges now have to read it to apply regardless of the other parent’s gender.

The case involves Kimberly McLaughlin and Suzan McLaughlin, who were legally married in 2008 in California.

The couple agreed to have a child through artificial insemination using an anonymous sperm donor, court records show. Kimberly McLaughlin became pregnant in 2010.

Before the birth, the couple moved to Tucson, entered into a joint parenting agreement and executed mirror wills, declaring they were to be equal parents to the child. After the 2011 birth, Suzan McLaughlin stayed home and cared for the boy while Kimberly McLaughlin worked as a physician.

When the boy was nearly 2, Kimberly McLaughlin moved out. She took the boy with her and cut off his contact with Suzan McLaughlin.

Suzan McLaughlin filed for divorce in 2013 as well as legal papers for parenting time. When a trial judge agreed to have the case proceed, Kimberly McLaughlin appealed.

Keith Berkshire, her attorney, does not dispute the parenting agreement with Suzan McLaughlin.

He said Suzan McLaughlin is not a “parent” as defined in state law.

And he said Kimberly McLaughlin, as the boy’s biological mother, is by definition, the only parent and therefore the only person who has parental rights.

That argument runs contrary to the 2014 Supreme Court ruling on same-sex marriage, the judge said .

“Under (the law), the male spouse of a woman who delivers a child is the presumptive parent, and therefore, a ‘legal parent,’” Espinosa wrote.

“If the female spouse of the birth mother of a child born to a same-sex couple is not afforded the same presumption of parenthood as a husband in a heterosexual marriage, then the same-sex couple is effectively deprived of civil marriage on the same terms and conditions as opposite-sex coupled, particularly in terms of safeguarding children and families.”

Berkshire said he is not contesting the Supreme Court ruling putting same-sex marriages on the same legal footing as opposite-sex spouses.

But he said the appellate court is ignoring that most states have a specific law that makes the presumption of parenthood automatic even in cases of artificial insemination. Arizona, Berkshire said, does not.

Existing Arizona law allows a man whose wife has given birth, even within 10 months of the marriage, to produce biological evidence he is not the parent, Berkshire said. Ditto, he said, if the biological mother wanted to prove through DNA testing that her husband was not the father and therefore not entitled to a presumption of parenthood.

“If this were a heterosexual relationship, my client would have been able to rebut (Suzan McLaughlin’s parenthood claim) if she was married to a man,” Berkshire said. Denying that right to Kimberly McLaughlin “because she is a lesbian,” he said, is a “distortion” of the 2014 Supreme Court ruling.

* I understand and agree that registration on or use of this site constitutes agreement to its user agreement and privacy policy.

Espinosa, however, said that logic relies improperly on that question of a biological connection. He said the law is clear: Paternity is presumed if the child is born during the marriage or within 10 months thereafter.

“It does not require a biological connection between the father and child,” Espinosa wrote. “The mere fact that the child was born during the marriage or shortly thereafter gives rise to the presumption of the husband’s paternity, without regard to whether the husband is the biological parent.”

The judge said there’s a good reason for that.

“The marital presumption of paternity serves the additional purpose of preserving the family unit,” he wrote.

Anyway, Espinosa said, Kimberly McLaughlin cannot argue that Suzan McLaughlin is not a parent when everything she did prior shows otherwise.

That includes they were married when they agreed to artificial insemination, that Suzan McLaughlin stayed home to care for their son, and that they entered into an express agreement “and agreed unequivocally that both would be (the boy’s) parents, with equal rights in every respect.”

And the judge noted that Kimberly McLaughlin specifically “waived any constitutional, federal or state laws that provide her with a greater right to custody and visitation” than that enjoyed by Suzan McLaughlin.

Finally, Espinosa noted there is no one else who is asserting to be the parent of the boy and expressing a willingness to care for and support him.