A federal appeals court delivered President Donald Trump a limited victory in his bid to reject asylum seekers from Central America and other countries.

The 9th U.S. Circuit Court of Appeals ruled Friday that the Trump administration can enforce its asylum ban in a partial capacity, allowing the administration to turn back asylum seekers who pass through a “third” country and reach the southern border in Texas and New Mexico only.

The Justice Department and Homeland Security rolled out a new rule in July that prohibits migrants from lodging asylum claims in the U.S. if they did not first make a claim in a country they crossed during their journey. The rule logistically applies to the tens of thousands of Central Americans who travel northward to the U.S. every month and pass Mexico on their way.

The order was dealt a major blow that same month when an Obama-appointed federal judge on the U.S. District Court in San Francisco issued a preliminary injunction against it, stopping the ban across the country while a lawsuit continued on.

However, the appeals court ruled Friday that the decision didn’t provide enough evidence to conclude that a nationwide order was necessary. Instead of striking the injunction down entirely, the three-judge panel said it could be limited within the 9th Circuit, which encompasses district courts in California and Arizona. The injunction is still in place in those two states.

The rulings appear to show how presidential appointments have played a monumental role in the current immigration debate.

All three judges on Friday agreed to keep the freeze in place, but there was a 2-1 split on whether to limit the scope of the freeze. Judge Milan Smith, an appointee of George W. Bush, and Judge Mark Bennett, an appointee of Trump, both ruled to limit the injunction to only the 9th Circuit. Judge Wallace Tashima, an appointee of Bill Clinton, however, argued to keep the freeze in place for the entire country. (RELATED: Here’s How The Asylum System Is Being Exploited)

While the ban can only be enforced in two states for the time being, the Rio Grande Valley in South Texas and the surrounding areas of El Paso experience extremely high amounts of illegal immigration, giving the Trump administration a lot of room to work with. The policy also applies to asylum seekers from South America, Africa and Asia.

Currently, the U.S. only has a “safe third country” agreement with Canada, but the White House has worked to establish a safe third country deal with Guatemala. While the outgoing administration in Guatemala did recently sign a third country deal, the incoming president said his country would not be capable of abiding by it.

Content created by The Daily Caller News Foundation is available without charge to any eligible news publisher that can provide a large audience. For licensing opportunities of our original content, please contact licensing@dailycallernewsfoundation.org.