But I don't see how they could win on the 287(g) prohibition. Doing so would mean _not_ entering into an agreement with DHS is itself unconstitutional.
States choosing not to do it are not overriding federal law that says DHS 'may' enter into agreements; that's just not how agreements work. 2/