Participants in the G20 finance ministers and central bank governors meeting pose for the family photo during the G20 finance ministers meeting in Baden-Baden | Thomas Niedermueller/Getty Images Trump blows up G20 trade consensus Finance ministers of world’s major economies try — and fail — to convince US to back them on free trade.

BADEN-BADEN, Germany — The leading global economies just found out that they now live in a different world: That of Donald Trump.

At a meeting of policymakers from the Group of 20 major economies around the world on Friday and Saturday, they were forced to drop their long-standing commitment “to resist all kinds of protectionism” in their communiqué because of U.S. opposition. No one is sure what comes next.

The language on trade had been the main sticking point at the two-day meeting of G20 finance ministers and central bankers. They managed to agree only at the last minute on the vague phrase that countries will work “to strengthen the contribution of trade to our economies.”

G20 partners are keen to maintain the current system of multilateral trade agreements governed by the rules of the World Trade Organization. But the new U.S president, who has promised to put "America First," has made no secret of his disdain for multilateral trade deals that he says have treated America unfairly. He has already scrapped the Obama administration's proposed Trans-Pacific Partnership.

While watering down their commitment to trade, the guardians of the world economy failed to agree on how things should look in the future. And for many policymakers who traveled to this picturesque German town, the talks that just ended must have felt like a looking-glass experience, with countries like China and Brazil trying to convince the U.S. of the merits of the very economic order that America had created.

U.S. Treasury Secretary Steven Mnuchin doubled down on Trump's message when he addressed his G20 colleagues, but failed to elaborate on how the system should be adjusted. All he said was trade is only fair when it's balanced.

“Mnuchin was the first country representative to speak at the so-called global economy session; everyone around the table who spoke after him stood up for free trade," a G20 delegation source said, adding that Brazil reminded all of the dark days of protectionism. “It is a strange world when Brazil and China lecture the U.S. on free trade," the official said.

Then, when given the floor, French Finance Minister Michel Sapin yielded to the European Commission's representative to speak on behalf of the Europeans. It was a powerful gesture of solidarity against Trump’s trade team, which has suggested that it might turn to individual EU member countries, rather than Brussels, when talking trade.

The mood in Baden-Baden’s neo-classical 1824 Kurhaus was not all that gloomy, people present said — even though Saturday's meeting was held in the wake of a tense press conference by German Chancellor Angela Merkel and Trump in Washington, which had raised questions about the health of transatlantic relations.

Optimism prevailed over the global economic outlook, delegates made a clear commitment to free-floating exchange rates, and progress was made on other key issues such as the fight against international tax avoidance and cyberattacks.

Helping to lighten the atmosphere was the use of the Black Forest’s best-known export, the cuckoo clock, rather than the traditional red light, to signal when speaking time was up, two G20 sources said.

In the end, key players stressed different parts of the communiqué.

“It is totally undisputed that we are against protectionism, but it is not clear what we all mean by that,” German Finance Minister Wolfgang Schäuble said at the press conference following the meeting, adding that Mnuchin did not have the authority to get creative on trade language.

Mnuchin, for his part, said he “couldn't be happier with the outcome,” as the new language makes sense and the Trump administration doesn't feel bound by old communiqués.

Sapin, however, expressed his regret that no deal had been found on trade or climate change.

Many participants said at some point the U.S. has to start telling its partners what it wants, and hoped the change in venue from the quaint Black Forest to all-business Washington will do the trick. One source said the International Monetary Fund's upcoming spring meeting there should be watched closely.

As delegates left town, the overall mood was clearly one of apprehension. "I don't remember such difficult talks on such an important issue in G20 history," a veteran of the meetings said.

But if Trump's goal was to shake up the G20's hitherto unquestioned consensus, he has clearly succeeded.