Both North Korea and Russia face significant sanctions - Pyongyang for its nuclear weapons program and Moscow for its invasion of Ukraine.