Last year, then-presidential candidate Javier Milei declared Argentina would not "make deals with communists" in China or Brazil, calling their leaders "murderers" and "thieves" in a bid to channel the populist energies of Donald Trump and other global far-right icons into a winning political message.
But Tuesday, President Milei found himself at the Group of 20 summit in Rio de Janeiro shaking hands with Chinese President Xi Jinping 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's left-wing president Luiz Inacio "Lula" da Silva who was once called by Milei a "corrupt communist ."
The final moments of the summit revealed Milei's more pragmatic streak, coming as a surprise after the irascible president sought to undercut various international initiatives - withdrawing Argentine negotiators from the U.N. climate summit , casting the only "no" 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.
Argentina has also dramatically reshaped its foreign policy in line with its hard-right allies in Italy - with Prime Minister Giorgia Meloni headed to Buenos Aires on Tuesday to spend more time with Milei - and in Israel .