Any person who willfully violates any provision of this chapter relating to commercial loans, or who willfully violates any regulation or order adopted under this chapter relating to commercial loans, shall, upon conviction, be punished by a fine of not more than $10,000, by imprisonment not more than one year, or by both fine and imprisonment. However, no person may be imprisoned for the violation of any regulation or order unless the person had knowledge of the regulation or order. Conviction under this section does not preclude the Board from exercising the authority provided in section 827.