The more serious or deliberate the illegality, the more the approach a court is likely to take to deny corrective action is tougher. The criminal courts are there to punish criminal behaviour on behalf of society: fines and penalties are imposed on behalf of society. It depends on a number of factors, such as the seriousness of the illegality and how illegality relates to the main purpose of the treaty. Illegality comes in all shapes and sizes, and all form in a variety of possibilities. In this sense, he does not agree that the contract should be deprived of any legal value. This does not mean that policyholders would necessarily be prevented from recouping premiums paid for insurance coverage. Rights and remedies are sometimes on the margins of illegality. Other common examples of illegal contracts are: trade restrictions are a large number of illegal contracts and are generally not enforced unless they are appropriate in the interests of the parties and the public. The difference between an inconclusive agreement and an unenforceable contract can be considerable. With respect to the definition of public order and what is within its scope and scope, Lord Atkin stated in the case of Fender v.
John Mildayopined that public policy is vague and unsatisfactory, which causes errors and uncertainty while deciding its application. According to him, the term, in the most common sense, includes actions that are best for the common good. In his view, while applying the doctrine of a treaty “against public order”; Concentration on the adverse effects of the treaty is not the only important thing. Harmful trends must also be properly taken into account, as the soil is less safe and insidious. This analysis of him was also taken as the basis for some Indian precedents, including the Gherulal Parekh case. These types of contracts have not been prohibited by Parliament and are therefore themselves valid and applicable, unless there is anything else that affects their illegality (see above). One or more parties are deprived of recourse if it means that they would benefit from the illegality or that they would benefit from it. Some treaties deal with issues that are not prohibited by law, but are contrary to public order and fair trade. These contracts are considered illegal and therefore unenforceable because they are contrary to public policy. Even if the subjects of the agreements are not explicitly mentioned in a law, the court will still consider them illegal. If a party does not comply with an obligation or provision that has been agreed under the contract, the non-action party may take legal action for its violation.