A ruling from the 9th Circuit Court of Appeals on Friday will allow for the Trump administration’s asylum ban at certain crossings in Texas and New Mexico.

The Hill reports that “the court said in a ruling that it denied the government’s broader request to reverse a previous decision blocking the policy, but upheld the injunction for states on the border outside of its jurisdiction.”

The policy that was in question denies asylum to migrants who pass through another country on their way to the United States without applying for asylum at the other nation first, for example, migrants from South America who do not request asylum in Mexico. The majority of migrants trying to enter the United States do not apply in any other nation first.

A lower court judge had previously ruled that the policy could open up migrants to abuse by forcing them to apply in other nations first.

TRENDING: BREAKING REPORT: President Trump to Nominate Amy Coney Barrett to Replace Ginsburg on the Supreme Court

“The district court clearly erred by failing to consider whether nationwide relief is necessary to remedy Plaintiffs’ alleged harms,” the Friday ruling said. “And, based on the limited record before us, we do not believe a nationwide injunction is justified.”