Mont. Code Ann. § 28-2-707
28-2-707 What conditions void
28-2-707 . What conditions void. A condition in a contract the fulfillment of which is impossible or unlawful within the meaning of part 6 and this part or which is repugnant to the nature of the interest created by the contract is void.