The results serve the goals of both governments the US and Mexico, which have targeted unauthorized migration at the behest of President Donald Trump, who threatened Mexico with potentially crippling tariffs earlier this year to force action.
The decision makes inconsequential a ruling by Washington DC District Judge Timothy Kelly earlier in the day that declined to block the rule in a different lawsuit brought by immigration advocacy groups, lawyers said.
On Friday, US District Court Judge Haywood Gilliam in Oakland, California said in a pair of court decisions that the Trump administration's proposal to transfer Defense Department funds intended for anti-drug activities was unlawful.
Mexico has sent a delegation of officials to Washington to try to avert U.S. President Donald Trump's threats to impose import tariffs on Mexican goods if the country does not do more to halt the flow of migrants to the United States.
US President Donald Trump has repeatedly vowed to close the US border with Mexico in the past, but this time the United States government may follow through as it struggles to deal with a surge of asylum seekers countries in Central America.