Only Congress can legislate laws concerning immigration, correct?
And it's the President's job to interpret those laws as being Constitutional, and either enforcing them, or not, correct?
Why would SCOTUS have to determine if an executive order is legal, or not?