Xi Jinping can make or break any deal between Trump and Kim

China's President Xi Jinping attending a meeting at the Great Hall of the People in Beijing on May 15, 2018. PHOTO: AFP

BEIJING (BLOOMBERG) - US President Donald Trump and North Korean leader Kim Jong Un are expected to meet next month (June) to negotiate a deal that could avert nuclear war.

But the ultimate success of any agreement hinges on someone else: China's President Xi Jinping.

As North Korea's largest trading partner, China's enforcement of United Nations sanctions helped bring Mr Kim to the negotiating table while also shielding his regime from Mr Trump's warnings of "fire and fury".

Now that Mr Trump and Mr Kim are meeting, Mr Xi can support any deal that is good for China and undermine anything that goes against its interests.

China already appears to be using that leverage in discussions on trade.

Last week, Mr Trump said Mr Xi "could be influencing" Mr Kim to take a harder line with the United States after North Korea threatened to walk away from the summit.

The US and China on Saturday declared a truce in their ongoing trade spat, paving the way for a greater focus on North Korea.

"China must continue to be strong & tight on the Border of North Korea until a deal is made," Mr Trump said on Twitter on Monday (May 21). "The word is that recently the Border has become much more porous and more has been filtering in. I want this to happen, and North Korea to be VERY successful, but only after signing!"

China faces a difficult balancing act. It has repeatedly called for talks between the US and North Korea to avoid a war or regime collapse, which could devastate its economy and lead to a refugee crisis or potentially US troops on its border.

On the other hand, China wants to avoid drawing North Korea closer to the US and South Korea, exacerbating its own security concerns.

Ahead of the unprecedented summit, Mr Xi has inserted himself into the discussion. Mr Kim has visited China twice in recent months to meet Mr Xi, while Mr Trump has also spoken by phone with the Chinese leader.

Mr Moon Jae In, South Korea's president, is scheduled to meet Mr Trump at the White House on Tuesday.

"Even if the US and South Korea try to weaken China's impact in the negotiation process, Xi and Kim's recent two meetings have proved that China and its support are indispensable," said senior fellow Yue Li at the Pangoal Institution, a Beijing-based think tank. "Even though it won't sit at the negotiating table in Singapore, China plays a role as a stabiliser in this region."

China possesses a unique combination of carrots and sticks that could help a deal succeed or cause it to unravel. The country's economic leverage over the North - China supplied 85 per cent of North Korea's US$3.47 billion in imports in 2015 - means it will be critical to any economic inducements offered as part of the deal.

Already, China has appeared to give Mr Kim hope of easing sanctions against his regime that curb fuel imports and ban exports of everything from seafood to coal. On a trip to Beijing in March - Mr Kim's first outside the country since taking power in 2011 - Mr Xi told him that China has made a strategic choice to have friendly ties with North Korea, and they would "remain unchanged under any circumstances".

"If relations with the US deteriorate or China's not happy with the US approach to negotiations, there are many ways it could quietly ease up on implementation and enforcement without formally violating the sanctions," said Mr Michael Kovrig, senior adviser for Northeast Asia at the International Crisis Group and a former Canadian diplomat stationed in Beijing.

Internationally, there are high hopes that China will play a positive role.

"China can be a guarantor to North Korea that if they give up their nuclear capacity, the United States will not be in a position to harm them," United Nations Secretary-General Antonio Guterres told Bloomberg in an interview on May 10. "And for the United States, China can also be a guarantor that if there is an agreement, that the agreement is effectively implemented by the North Koreans."

Still, any efforts at mediation are hindered by China's complex and at times difficult ties with both the US and North Korea. While China sided with Pyongyang in the Korean War and has a mutual defence treaty, it is unclear how Beijing would act in a conflict - particularly if North Korea kicked things off.

China also has to contend with the longstanding tendency of both the US and North Korea to walk away from negotiations, not to mention the volatile personalities of Mr Trump and Mr Kim.

"It can't ensure compliance from either side," Mr Kovrig said. "It has leverage and influence over North Korea, but ultimately can't force it to implement. Beijing has even less influence over US policy and President Trump."

Still, China has a strong interest in shaping any potential deal. In particular, it is likely to want a reduction in the US troop presence and an increase in trade with North Korea to help revive its ailing northeast economy.

Home sales in the Chinese border city of Dandong are already surging on hopes that trade between the two countries might increase.

China also shares the goal of denuclearising the Korean Peninsula. China would suffer from any deal that eliminates North Korea's long-range missiles capability of hitting America while allowing the US to maintain deterrence against the regime's nuclear weapons and short-range missiles, according to Dr Zhang Liangui, a former professor at the Chinese Communist Party's Central Party School.

"In this case, the US and its allies will be free from nuclear attack but North Korea's surrounding countries like China would be affected," Dr Zhang said. "This scenario isn't likely, but we need to beware."

Join ST's Telegram channel and get the latest breaking news delivered to you.