Of course Obama threatens a veto.
Check it out:

House Republicans pushed toward a vote Thursday on legislation cracking down on “sanctuary cities” that shield residents from federal immigration authorities. Angry Democrats accused Republicans of aligning themselves with Donald Trump and his anti-immigrant views, and the White House threatened a veto.