Sanctions are not collective punishment, and war crimes only exist in the context of war.
Also, the DPRK did invade the RoK, that’s what started the Korean War.
Also also, China has reserved a spot on its equivalent of the National Mall for when it takes Taiwan back.
China definitely cares about how well Russia’s invasion of Ukraine goes, because of the many geopolitical parallels it would have with it invading Taiwan.
Iirc the main thing preventing Russian troops from pulling back to their border is the Russian commanders that won’t let them