Giving or Offering To Bribe Ministerial Officers Defined

(a) Every person who gives or offers as a bribe to any ministerial officer, employee, or appointee of the State of California, county or city therein, or political subdivision thereof, any thing the theft of which would be petty theft is guilty of a misdemeanor.

(b) If the theft of the thing given or offered would be grand theft the offense is a felony punishable by imprisonment pursuant to subdivision (h) of Section 1170.