The state sued the city over its unlawful denial of a supportive housing project.