The UN said the ‘extraordinary and temporary measure’ was taken to ensure the safety and security of its personnel.