North Korea threatens UN over sanctions