Authorities said the UN special rapporteur was blocked from entering the country due to 'national security' risks.