not exactly, there were restrictions on who could be imported based on whether they pose a danger or not- The judge made that clarification I believe if I heard him right (I saw that segment on fox with him)
I'd have to research it but I bet Congress left it up to the Executive to determine who poses a danger.