It doesn't work so well in real life.
[District Court judge] Bolton, a Democratic appointee, also questioned a core part of the Justice Department’s argument that she should declare the law unconstitutional: that it is “preempted” by federal law because immigration enforcement is an exclusive federal prerogative.
“How is there a preemption issue?” the judge asked. “I understand there may be other issues, but you’re arguing preemption. Where is the preemption if everybody who is arrested for some crime has their immigration status checked?”
Oh, well. Maybe the "They ate our homework" argument will be next.
HT: Hot Air