Cal. Gov't Code § 37100
The legislative body may pass ordinances not in conflict with the Constitution and laws of the State or the United States.