Any agreement reached with judges or magistrates is annulled by asserting undue influence in changing the decision or cancelling the accused`s debts or by interference with the judicial process, may quash the agreement. Agreements or contracts that cause a statue or a violation of public order are not enforced by law. In the case of Veerayya v. Sobhanandri[vii], a person reached an agreement to withdraw the charge of S. 420 from the Indian Penal Code in 1860 against the accused. As the offence has been aggravated, the Tribunal`s agreement is necessary and the agreement has therefore been annulled. In the case of Ouseph Poulo/Catholic Union Bank Ltd. [viii], two parties reached an agreement to terminate the criminal proceedings under some consideration and it was determined that such transactions were contrary to public policy. Example: A, a father of one daughter promised to give a certain amount of money to B, a father of a minor boy and B agreed to marry his minor son with the daughter of A. Here, the agreement is non-conclusive, since it is contrary to public order. Another example of an agreement contrary to public policy would be an agreement to obtain a government job or a title with corrupt funds. Such a treaty would not be applicable.
Such a contract is considered contrary to public order, because if it were allowed, it would increase corruption and render inefficient and unreliable public services. It should be noted at this stage that, although an agreement for marriage is inconclusive, the marriage will be a valid marriage. It can also be incorporated according to the principles of social legislation. It may also undermine the legality of an agreement, as it is a prejudice to the common good. Public policies are either laws or acts of the state that govern traditional, cultural, ethical ideals, norms of society, dominant practices, etc. Even if certain laws are to be enacted, the government must first verify that this law or law does not violate the principles of public order. It should be good for people. There are many examples of this type, where the contract or agreement is cancelled, since the court may refuse to enter into such contracts or agreements under these contracts, falls into the category of unlawful conduct. The court does not want to encourage practices that could lead to a deterioration of the nation or the exhaustion of rights and laws. Often, certain decisions are made in favour of certain groups such as workers, children, women, the elderly and even people with disabilities, in order to meet their aspirations and protect their rights and interests.
Public policies can also play a decisive role in promoting the equality of citizens for their improvement, by providing equal treatment for all and by offering the increase and protection of the country. However, this issue can become complicated if, in peacetime, a treaty is concluded and a war breaks out. In this case, one in two results usually occurs. First, the agreement is suspended until the end of the conflict. Second, the treaty is terminated.