The Council of Europe's commissioner for human rights (ECHR) urged UK lawmakers to block a new law to tackle illegal immigration.