The proposal has been slammed by legal experts, advocates and former refugees.