LA PAZ, Boliva (AP) 鈥 Last year, then-presidential candidate Javier Milei declared Argentina would not 鈥渕ake deals with communists鈥 in China or Brazil, calling their leaders 鈥渕urderers鈥 and 鈥渢hieves鈥 in a bid to channel the populist energies of Donald Trump and other global far-right icons into a winning political message.

But Tuesday, found himself at the in Rio de Janeiro shaking hands with and vowing to boost trade with the Asian powerhouse, a day after his economy minister signed a preliminary agreement to export Argentine natural gas to Brazil.

Milei even acquiesced to a joint declaration endorsed by world leaders late Monday despite his earlier attempts to play spoiler to the G20 host, Brazil鈥檚 left-wing president who was once called by Milei ."

The final moments of the high-profile summit Tuesday revealed Milei's more pragmatic streak, coming as a surprise after the irascible president sought to 鈥 withdrawing Argentine negotiators from the , casting the only 鈥渘o鈥 votes on two U.N. resolutions, one supporting Indigenous rights and another advocating for an end to violence against women, and roiling negotiations at the G20 summit.

Argentine resistance to the joint G20 communiqu茅 in the past few days focused on clauses related to the taxation of the super-rich and regulation of online speech, diplomats said. Argentine delegates also sought to block language about gender equality and references to the U.N. 2030 agenda on sustainable development, which Milei has decried as socialist.

Critics saw the Argentine president as a saboteur. Supporters cheered Milei as a leader of the 鈥渘ew world disorder.鈥 Fresh off where he ranted against socialism and rubbed shoulders with the president-elect and , Milei initially seemed immune to such concerns in Rio.

Milei's office issued a harsh statement citing his objections to the G20 declaration. But the president under enormous international pressure.

鈥淎rgentina is not a great power and it is in a very difficult situation economically," said Roberto Goulart Menezes, a professor of international relations at the University of Brasilia. That pressure, he added, was 鈥渆nough for Argentina to finally reduce its opposition.鈥

During Milei's first-ever meeting with President Xi on Tuesday, the leaders discussed their 鈥渃urrent trade and financial ties" and 鈥渄esire to continue exploring new opportunities to expand and improve,鈥 the Argentine presidency said in a statement, along with a photo of the presidents sharing a warm handshake. It said the leaders had invited each other to visit.

With Argentina highly reliant on China as a market for its soybeans and other crops, the cordial tone made clear that the crisis-stricken South American nation has no desire for relations with its second-largest trading partner and crucial financial lifeline to further deteriorate.

A statement from China's foreign ministry said President Xi expressed his appreciation for Milei's 鈥渨illingness to continue deepening bilateral cooperation," and praised the 鈥渇riendly relations鈥 between the nations.

China has maintained strategic assets in Argentina, including stakes in lithium mines and a space station in Patagonia. Earlier this year, former Foreign Minister Diana Mondino, , led a successful visit to China to patch up relations strained by Milei's colorful insults ("Would you trade with an assassin?" he asked on the campaign trail last August, while accusing China of killing dissidents).

After her trip, Beijing in June resumed a currency swap deal worth billions of dollars that boosted Argentina鈥檚 depleted reserves.

On Monday, as negotiations over the G20 draft grew increasingly tense, Argentine Economy Minister Luis Caputo and Brazilian Energy Minister Alexandre Silveira signed a memorandum of understanding that offered a new and important source of income to cash-strapped Argentina.

The agreement to work toward shipping 30 million cubic meters of natural gas to Brazil from Argentina鈥檚 Vaca Muerta, a vast shale oil and gas field in Patagonia, over the next five years, 鈥渕ight have helped鈥 Milei sign the joint G20 statement, Silveira told reporters.

But it did nothing to dispel the chill between the leaders of South America's largest economies, who have opposite views on , and the .

A set of official photographs that splashed across the front page of a local newspaper Tuesday showed Lula and other government leaders clasping hands amicably in sharp contrast to the Brazilian leader's photo-op with Milei 鈥 both men standing stiffly, a foot apart despite protocol demanding they shake hands, looking like they鈥檇 rather be anywhere else in the world.

As with Lula, Milei alienated and by attacking their leftist leaders this year. Some experts fear that Trump's election has further emboldened Milei and other far-right political figures U.N. commitments and ambitious on issues like climate change.

鈥淢ilei has already taken a pro-Trump stance, thinking ... that the G20 could be emptied by President Trump," said Goulart Menezes, the international relations expert.

Yet, he cautioned that 鈥渕aking Argentina鈥檚 foreign policy conditional on the future president of the United States鈥 carries risks.

鈥淎rgentina is putting itself in a position of international isolation," he said.

Indeed, at the 鈥 taken for a second time Tuesday because U.S. President Joe Biden and 春色直播 Prime Minister Justin Trudeau due to a scheduling mishap 鈥 Milei was the only leader missing.

There would be no third attempt.

___

Associated Press reporters Debora Rey in Buenos Aires, Argentina, and El茅onore Hughes and Mauricio Savarese in Rio de Janeiro contributed to this report.

The 春色直播 Press. All rights reserved.

More Environment Stories

Sign Up to Newsletters

Get the latest from 春色直播News in your inbox. Select the emails you're interested in below.