Sofia Vergara scores a big win in the custody battle over her frozen embryos

LOS ANGELES, CA - SEPTEMBER 18: Actress Sofia Vergara attends the 68th Annual Primetime Emmy Awards at Microsoft Theater on September 18, 2016 in Los Angeles, California. (Photo by Alberto E. Rodriguez/Getty Images)

Sofia Vergara scored a major victory in her legal battle with ex Nick Loeb over their frozen embryos on Friday when a Louisiana federal judge granted the actress’s motion to dismiss the case against her.

Videos by Rare

The judge determined that the court had no jurisdiction over the case because the embryos were conceived in California, even calling them “citizens of California.” The judge noted that neither Vergara nor Loeb have any ties to the state of Louisiana and presumed Loeb filed the lawsuit their because of the state’s laws protecting the rights of unborn children.

RELATED: Just when we thought Sofia Vergara’s custody battle over her embryos couldn’t get any weirder, this happened

A year after Vergara and Loeb broke up in 2014, Loeb filed a custody lawsuit against Vergara in the state of California. He claimed she had undergone in vitro fertilization to create embryos out of her eggs and his sperm and that two had been frozen in case the couple wanted to have babies in the future. Loeb asserted that Vergara now wants the embryos destroyed, but she has denied that claim, citing an agreement they sign which prohibited unilateral action to be taken in regard to the embryos.

Loeb later filed a right-to-live lawsuit in Louisiana, asking that the embryos be given to him so that he could give them a chance at life by implanting them in a surrogate. Calling them “Emma” and “Isabella” in the lawsuit, Loeb requested custody of the embryos and even created a trust fund in their names. He accused Vergara of abandoning and neglecting the embryos by  “refusing to consent to their development or care.”

In February, Vergara filed papers in California requesting declaratory relief and a permanent injunction that would block Loeb from being able to do anything with the embryos without her written consent.

RELATED: Sofia Vergara’s battle over her own embryos has taken a very bizarre turn

What do you think?

Don’t mess with Texas: Homeowner shoots hurricane prowler in the head

First a flood, then an earthquake and now a fire in Austin – the “Texpocalypse” is here