Sam Boal – Pool/Getty Images.

President Donald Trump has once again asserted a dubious victory after manufacturing a crisis—this time with his threat to impose tariffs on Mexico unless its government stemmed the flow of Central American asylum-seekers seeking refuge in the United States. The president tweeted Friday night that he’d canceled a significant tax on imported goods from Mexico, which had been scheduled to go into effect on Monday, claiming that the two countries had reached an agreement.

Unsurprisingly, Trump was complaining about media coverage of the deal mere hours later.

The agreement in question sees Mexico agreeing to station up to 6,000 of its National Guard troops in order to help with immigration control, including at the border with Guatemala. The U.S. will otherwise accelerate the process of asylum claims and expand Migration Protection Protocols that place asylum-seekers in Mexico while they wait for their claims to be processed. Mexican ambassador to the United States Martha Bárcena added that Mexico would provide health, education and employment opportunities to migrants waiting in Mexico.

“The United States looks forward to working alongside Mexico to fulfill these commitments so that we can stem the tide of illegal migration across our southern border and to make our border strong and secure,” Secretary of State Mike Pompeo said in a statement explaining the agreement. It is not immediately clear how or when the U.S. and Mexico will actually implement these changes. Also notable is that Mexico did not agree to support proposed Trump administration changes to asylum rules that would allow the U.S. to more easily reject asylum-seekers from Guatemala, Honduras and El Salvador, despite a years-long push.

The tariffs would have created major strains with Mexico, the United States’ largest trading partner, and were already unnerving automakers and agricultural firms. The threat of tariffs passing increased costs to the American consumer—Vox estimated about $900 a year for the average American family—also led to uncharacteristic pushback from Republican senators, who threatened to block Trump’s tariffs. “There’s no reason for Texas farmers and ranchers and manufacturers and small businesses to pay the price of massive new taxes,” Senator Ted Cruz stated to The New York Times.

Democrats are equally dissatisfied with the resolution of the manufactured crisis. “We are deeply disappointed by the Administration’s expansion of its failed Remain-in-Mexico policy, which violates the rights of asylum seekers under U.S. law and fails to address the root causes of Central American migration,” House Speaker Nancy Pelosi said in a statement Saturday. Senator Chuck Schumer was more sarcastic, suggesting that Trump’s big “win” was actually a hollow victory.

Trump’s policy for asylum-seekers to remain in Mexico was initially challenged in court, although the Ninth Circuit Court of Appeals ruled that the policy would continue, barring further Democratic appeals. Trump nonetheless tried to spin his vague adjustment into a policy win, tweeting—verbatim— “Everyone very excited about the new deal with Mexico!”