A second federal judge on Wednesday blocked enforcement of President Donald Trump's newest executive order seeking to restrict birthright citizenship, issuing a classwide preliminary injunction in a case brought on behalf of children who would be denied citizenship under the measure.

U.S. District Judge Christopher Cooper in Washington, D.C., ruled in a 67-page opinion in Nathan v. Trump, a class action filed in September by the American Civil Liberties Union and other advocacy groups. The injunction bars the State Department, the Department of Homeland Security and the Social Security Administration from enforcing the August order against any children covered by the class.

The August order, Executive Order 14418, was Trump's second attempt to narrow birthright citizenship after the Supreme Court rejected his initial effort. Cooper wrote that "the president cannot carve out new exceptions to birthright citizenship for children born within the United States and subject to its laws," noting that the Supreme Court had already recognised that these children are U.S. citizens.

Cooper is the second judge to block the new order. In September, U.S. District Judge Deborah Boardman in Maryland issued a preliminary injunction at the request of immigrant rights advocates, calling the order "almost certainly unconstitutional."

The injunction is a preliminary step, not a final judgment. It preserves the status quo while the case proceeds, and the administration can appeal the ruling to the U.S. Court of Appeals for the District of Columbia Circuit.