U.S. Supreme Court decisions this term on sports betting and immigration bolstered a Philadelphia federal judge’s ruling Wednesday that the U.S. Justice Department’s sanctuary city policies are unconstitutional.

In the case Philadelphia v. Sessions the city challenged three of 53 special conditions the Trump administration imposed in order for the city to receive Justice Assistance Grant program funds.