“or impose any restrictions on the entry of aliens he may deem to be appropriate.”
Asylum denied.
Fine, but the law in question allows the immigrant to request asylum and enter into whatever process is used to adjudicate that request - even if it consists of Trump saying "you're deported!"
Trump's ban said they can't even request it - in direct contravention to the law.