The governing body of a city within which a portion of the harbor is situated may establish by ordinance any regulations which are proper in the exercise of its police powers which regulations do not conflict with the provisions of this part, or with any lawful ordinance of the board of supervisors.
Ca. Harb. and Nav. Code § 5901