No city or county has authority, by ordinance enacted by the legislative body thereof or adopted by the people under the initiative power, or otherwise, to regulate, supervise, or provide for the regulation or supervision of any dams or reservoirs in this state, or the construction, maintenance, or operation thereof, nor to limit the size of any dam or reservoir or the amount of water which may be stored therein. This part shall not prevent a city or county from adopting ordinances regulating, supervising, or providing for the regulation or supervision of dams and reservoirs that (a)are not within the state’s jurisdiction, or (b)are not subject to regulation by another public agency or body.