Remember that time Arizona was trying to detain illegals, and the Federal Gov't took them all the way to the Supreme Court who ruled that because "the Federal Government had taken the field" on immigration enforcement, the States had no right to involve themselves in immigration enforcement?
Turns out that's only if you want to keep illegals out. If you want to protect them, you can totally dork with Federal enforcement of immigration.

