(shrug) How about a state criminal offense?
The state tried. It is being told it cannot make immigration a state crime.