Any person who violates Section 11226, 11227, 11234, 11244, 11245, or 11283, is guilty of a public offense punishable by a fine not to exceed ten thousand dollars ($10,000), by imprisonment pursuant to subdivision (h) of Section 1170 of the Penal Code or in a county jail not exceeding one year, or by both the fine and imprisonment.