China’s foreign minister recently likened the U.S. and North Korea to two speeding trains hurtling toward each other, an analogy that would seem to place China in the role of helpless bystander. And indeed, while tensions have risen, Beijing has been frustrated by its declining influence over the Korean Peninsula.