§ 7050 With the consent of the city, county, or city and county, as the case …