Any person who transacts insurance without a valid license so to act is guilty of a misdemeanor punishable by a fine not exceeding fifty thousand dollars ($50,000) or by imprisonment in a county jail for a period not exceeding one year, or by both that fine and imprisonment.