The courts can become involved in enforcing contracts, including having a portion declared void.
Unenforceable Contracts
An unenforceable contract is a valid contract which a legal body cannot compel one or both of the parties to fulfill the terms of because there is a statute or public policy which makes it unenforceable.