See more of the story

Delegates at the World Economic Forum in the Swiss resort of Davos often treat politicians as rock stars. But the fawning reception given to China's leader, Xi Jinping, on Jan. 17 was extraordinary.

He was the first Chinese president to attend the annual gathering of the world's business and political elite. Even an overflow room was packed when he delivered, in his usual dour manner, a speech laced with literary references — rendered through bulky headsets into equally monotone translations.

Xi said little that was new, but the audience lapped it up anyway. Here, at a time of global uncertainty and anxiety for capitalists, was the world's most powerful Communist presenting himself as a champion of globalization and open markets.

Xi did not mention Donald Trump by name, nor even the U.S., but his message was clear. "No one will emerge as a winner in a trade war," he said, in a swipe at Trump who has threatened, among other mercantilist acts, to slap heavy tariffs on Chinese goods.

Xi likened protectionism to "locking oneself in a dark room," a phrase that delegates repeated with delight. His words seemed comforting to many of them after a year of political surprises, not least in the United States and Britain.

Xi quoted from Dickens to describe a "world of contradictions," as he put it. "It was the best of times, it was the worst of times," he said.

Many foreign businesses complain about what they regard as a rise of protectionism in China, too — but no one could accuse Xi of being out of tune with the Davos mood. China, Xi assured delegates, "will keep its door wide open and not close it."

The Chinese president also portrayed his country as a staunch defender of the environment. He said that sticking to the Paris agreement on climate change, which went into effect last year, was "a responsibility we must assume for future generations." These, too, were welcome words to many listening: Trump's threat to reject the pact will make China's commitment to it all the more crucial.

The timing of Xi's trip was fortuitous — according to the Financial Times his aides were working on it before Britain voted to leave the European Union and well before Trump's election victory. But he must have relished the points that those events enabled him to score at Davos.

Xi faces political battles of his own as he prepares for a five-yearly Communist Party congress in the autumn and a reshuffle right after it. He wants to install more of his allies in key positions. Standing tall on the world stage could help, and attending Davos will have reinforced the point to his colleagues that he is in charge of China's economy, as he clearly is of every other main portfolio.

The forum is one where embarrassing questions about China's politics are seldom raised openly. Xi could talk airily of China's openness with little fear of being asked why he is clamping down on dissent and tightening controls on the internet (last year this newspaper's website joined the many foreign ones that are blocked). On Jan. 14, China's most senior judge condemned judicial independence as a "false Western ideal."

Previously, the highest-ranking Chinese attendees had been prime ministers.

So why has Xi waited until his fifth year as president to turn up? He may well have winced at the thought of doing so last year, when discussions were dominated by questions about China's management of its slowing economy in the wake of a stock market crash and a devaluation of the yuan. Many analysts still worry about China's economy, but the West's problems have loomed larger over the Swiss Alps last week.

And for all his uplifting talk, Xi shows no signs of wanting to take over as the world's chief troubleshooter. Xi is preoccupied with managing affairs at home and asserting control in seas nearby.

"Nothing is perfect in the world," the new Davos Man sagely informed the delegates. But he is unlikely to take the lead in making the world a better place.