Question: can destroy an otherwise valid contract?
Answer: NO! Illegality can destroy an otherwise valid contract. It can also expose people who agree to the contract to potential charges of criminal conduct and other legal consequences.