Where a contract has several distinct objects of which one at least is lawful and one at least is unlawful, in whole or in part, the contract is void as to the latter and valid as to the rest.
Mont. Code Ann. § 28-2-604
When contract partially void
En
Official source: Montana Code Annotated (Montana Legislature). Reproduced from public-domain Montana statutes; confirm against the official source for the current text. Not legal advice.