North Korea has called for the scrapping of a military intelligence-sharing agreement between South Korea and Japan, calling it a "hurdle" to realizing the goals of the historic Panmunjom Declaration signed between the two Koreas on April 27.

The General Security of Military Information Agreement (GSOMIA) between Tokyo and Seoul, reached in 2016, was part of a push by the neighbors to pool intelligence on North Korea as the nuclear-armed country ramped up its missile and atomic tests.

The deal was the subject of much vitriol by the North on Tuesday, with state-run media blasting it as "an extremely dangerous and treacherous war agreement."