Notwithstanding any provisions of this Code to the contrary any conduct or activity, declared to be a public offense and a violation of this Code by rule or regulation adopted by any subordinate board or commission established pursuant to the Government Code or this Code, is hereby declared to be an infraction and shall be enforced and punishable in the manner prescribed by the Penal Code and the Government Code of the State of California.