I don't think Emma Lazarus' poem rises to the level of statute. We do not have to let them in.
No, of course not, but it does illustrate a difference in sentiment.