This was in federal court. Immunity in federal court only applies to States, not municipalities. Eleventh Amendment.
Take a look at the opinion; the link is in the article. To try to get around the police power problem, the case was pleaded as a takings case under both the federal and Colorado constitutions . The opinion pretty cogently explains why this is not a takings case. Harsh result, but correctly decided.
State police involved?