SEOUL, South Korea — North Korea said it conducted a “higher level” nuclear test explosion Friday that will allow it to finally build an array of stronger, smaller and lighter nuclear weapons. It was the North’s fifth atomic test and the second in eight months.

South Korea’s president said the detonation, which Seoul estimated was the North’s biggest-ever in explosive yield, was an act of “fanatic recklessness” and a sign that leader Kim Jong Un “is spiraling out of control.”

President Obama condemned the test “in the strongest possible terms as a grave threat to regional security” and said the U.S. would never accept the country as a nuclear power.

North Korea’s boast of a technologically game-changing nuclear test defied both tough international sanctions and long-standing diplomatic pressure to curb its nuclear ambitions. It will raise serious worries in many world capitals that North Korea has moved another step closer to its goal of a nuclear-armed missile that could one day strike the U.S. mainland.

The U.N. Security Council scheduled an emergency meeting later Friday to discuss the test.

Seoul vowed to boost psychological warfare efforts by increasing the number of propaganda loudspeakers along the rivals’ border, the world’s most heavily armed, and the number of hours of anti-North Korean broadcasts.

Hours after South Korea noted unusual seismic activity near North Korea’s northeastern nuclear test site, the North said in its state-run media that a test had “finally examined and confirmed the structure and specific features of movement of (a) nuclear warhead that has been standardized to be able to be mounted on strategic ballistic rockets.”

“The standardization of the nuclear warhead will enable (North Korea) to produce at will and as many as it wants a variety of smaller, lighter and diversified nuclear warheads of higher strike power,” North Korea said. “This has definitely put on a higher level (the North’s) technology of mounting nuclear warheads on ballistic rockets.”

South Korean President Park Geun-hye strongly condemned the test, saying in a statement that it showed the “fanatic recklessness of the Kim Jong Un government as it clings to nuclear development.”

She told a meeting of top security officials Friday night that, “We have to believe that Kim Jong Un’s mental state is spiraling out of control because he is not listening to any words from the international community or neighboring countries in his attempt to cling to power.”