Legality of a contract

There is a rule of law that no court action will arise from an illegal act. For example:

● Contracts to commit a crime. ● Contracts to corrupt public life. ● Immoral contracts.

Contracts which require either party to act against the law – the court will not help the guilty party