Rights groups to take Government to court over immigration exemption