The leader of North Korea has said the country will not use nuclear weapons unless its sovereignty is threatened.