What can a court do with an agreement that requires an illegal act?
A court may refuse to enforce an agreement requiring an illegal act. Depending on the law involved, the transaction or only a term may be invalid, or lawful portions may remain enforceable if separable.