It is a misdemeanor for any person to assume or attempt to act, or to act, as a licensee or agent without a license and is punishable by a fine of not less than ten thousand dollars ($10,000), by imprisonment in the county jail for not more than one year, or by both the fine and imprisonment.