As Kim Yong-nam 's remarks indicate , North Korea -- an increasingly isolated country that has battled famine , a collapsing economy and desertion across its borders -- has seen nuclear weapons as a form of defense as well as a potential threat .