Question: what is agreement opposed to public policy?
Answer: If in an agreement, the consideration is committing a crime, the agreement is opposed to public policy and is void. Similarly, an agreement to indemnify a person against consequences of his criminal act is unenforceable being opposed to public policy.