BEIJING, Dec 2 - For all the bonhomie on display between Xi Jinping and Kim Jong Un during the first state visit to Beijing by a leader of a nuclear-armed North Korea since 1982, tense undercurrents run through the relationship.
Beijing's only formal treaty ally, North Korea is of unique importance to China, not only as a buffer to US-allied South Korea, but also as leverage in its dealings with Washington, Tokyo and Seoul. For much of North Korea's history, China has served as its only economic lifeline.
Pyongyang's efforts in recent years to step out of Beijing's shadow and move closer to Moscow have shaken the foundations of that relationship. Russia has also become a formal treaty partner of North Korea under a pact that includes a mutual defence clause, with Pyongyang sending arms and troops to fight in Ukraine.
China is also apprehensive about North Korea re-engaging with the United States, with President Donald Trump publicly courting Kim, after the two met three times during Trump's first term.
Then there's the risk that Pyongyang might resume nuclear weapons tests, which could encourage Japan and South Korea to further ramp up defence spending, creating a more hostile regional security environment for China.
Kim has made several unofficial visits to Beijing previously, but the calculation this time was that a…


