Mont. Code Ann. § 30-14-905
30-14-905 Recovery on illegal contracts forbidden
30-14-905 . Recovery on illegal contracts forbidden. A contract, express or implied, made by a person in violation of the provisions of 30-14-901 is an illegal contract, and no recovery may be had on the contract.