Pyongyang has threatened that any U.N. sanctions would be considered a declaration of war .