North Korea is on China's borders, thousands of people each month sneak into China from North Korea, and their crazopathic government is next door to China no matter what. I think China being very mildly pro-NK is a case of "Keep your friends close, but your enemies closer." North Korea is probably the biggest potential threat to China if relations were to break down between them.