the city of Sacramento violated a state law