Minn. Stat. § 326B.845
Subd. 1. Gross misdemeanor.
An individual who violates an order of the commissioner or is the manager, officer, or director of a person who violates an order issued by the commissioner is guilty of a gross misdemeanor.
Subd. 2. Lien rights.
An unlicensed person who knowingly violates sections 326B.802 to 326B.885 has no right to claim a lien under section 514.01 and the lien is void. Nothing in this section affects the lien rights of material suppliers and licensed contractors to the extent provided by law.