A federal judge in Washington, D.C., on Wednesday blocked President Donald Trump's August executive order restricting birthright citizenship. U.S. District Judge Christopher Cooper granted a preliminary injunction in a 67-page ruling, and also granted class-action status to a group of plaintiffs who argued their children's citizenship would be unlawfully denied if the order took effect.

The August order directed federal agencies not to recognize citizenship for certain children born in the United States. According to ABC News and Fox News, those include children of foreign government or organization workers lacking diplomatic immunity, children born through commercial surrogacy to foreign parents, and children with a parent suspected of being a gang member, terrorist or "alien enemy." A separate August order targeted what the administration calls "birth tourism."

"The President cannot carve out new exceptions to birthright citizenship for children born within the United States and subject to its laws," Cooper wrote. He added: "The Citizenship Clause promises citizenship to practically all children born in the United States. Earlier this year, the Supreme Court kept that promise by striking down EO1. This Court does so again today by enjoining EO2's application as to the certified class."

According to Fox News, Cooper relied on the Supreme Court's June decision in Trump v. Barbara and the earlier United States v. Wong Kim Ark. He wrote that Wong Kim Ark recognized narrow exceptions, such as for children of foreign diplomats, and that Congress has not authorized others. He also found that parental membership in a terrorist organization does not meet the historical exception for children of enemy forces occupying U.S. territory, and that surrogacy births are subject to U.S. law.

The ruling is the second to halt the August order. U.S. District Judge Deborah Boardman in Maryland issued an injunction on Sept. 2, according to Fox News. Fox reported that Cooper's ruling extends protection to additional groups beyond that class. The Supreme Court ruled 6-3 in June that Trump's first order, signed on his first day of his second term, was unconstitutional, according to TRT World.

The White House denounced the decision, with a spokesperson calling Cooper "an activist judge appointed by Obama attempting to thwart President Trump's commonsense agenda" and saying the order is "consistent with the holdings and analysis set forth by the Supreme Court." ABC News said it had asked the Justice Department for comment. Cody Wofsy, an American Civil Liberties Union lawyer for the plaintiffs, said Trump "needs to accept that birthright citizenship is the law of the land."