A federal judge late Wednesday blocked most of Texas’ tough new “sanctuary cities” law that would have let police officers ask people during routine stops whether they’re in the U.S. legally and threatened sheriffs with jail time for not cooperating with federal immigration authorities.

Trumpism loses in court again.