The law may be unconstitutional but what IS NOT unconstitutional is the Feds withdrawing FED funds from supporting locals refusing to aid ICE.
Depends on who appropriated the money.
If Congress giveth,
Only Congress can taketh away.
And that ain’t a-gonna happen