Law passed in May has been condemned and described by UN experts as 'an egregious violation of human rights'.