causing preemption by state law can occur in three different ways: the local ordinance (1) duplicates state law; (2) contradicts state law; or (3) enters an area or field fully occupied by state law.” Conejo Wellness Cntr., Inc. v. City of Agoura Hills, 214 Cal.App.4th 1534, 1552, 154 Cal.Rptr.3d 850 (2013). Under California law, “[l]ocal legislation is ‘duplicative’ of general law when it is coextensive herewith.” Sherwin-Williams Co. v. City of Los Angeles, 4 Cal.4th 893, 898, 16 Cal.Rptr.2d 215, 844 P.2d 534 (1993) (citing In re Portnoy, 21 Cal.2d 237, 240, 131 P.2d 1 (1942)). A local ordinance is coextensive with a state law when it criminalizes “precisely the same acts.” Great W. Shows, Inc. v. Cnty. of Los Angeles, 27 Cal.4th 853, 865, 118 Cal.Rptr.2d 746, 44 P.3d 120 (2002) (<HOLDING>) (internal quotations, ellipses and citation
holding that  1324 preempted a local ordinance prohibiting renting housing to illegal aliens holding that a local gun ordinance making the sale of firearms on county property a misdemeanor was not preempted by a state law prohibiting the sale of assault weapons and unsafe handgunsfinding that the ordinance does not criminalize precisely the same acts which are prohibited by statute holding that a local ordinance prohibiting rental housing for illegal aliens was not field preempted and did not conflict with the federal removal process and where the ordinance specified it did not prohibit conduct expressly permitted by federal law did not conflict with federal antiharboring law holding that local ordinance prohibiting the sale of beer or wine to persons less than 21 years of age was not preempted by state statute prohibiting the furnishing of any alcoholic beverages to persons under 21 holding city ordinance preempted by state law because ordinance prohibited act specifically allowed under state law