“This case presents the following issues: (1) Can a trial court dismiss a strict liability offense pursuant to Penal Code section 1385 based in part on a defendant’s lack of knowledge concerning the offense? (2) Does state law preempt a local ordinance when both prohibit the same conduct and the state law has a mens rea component that the local ordinance does not?”