In this section, the words «void,» «object» and «consideration» can be read. There may not be a void object as such, but it can be considered a null contract with an illegal object that is cancelled.  Similarly, there can be no «non-counterpart» as such, but it can be considered a null contract with an illegal consideration that can be cancelled.  This section deals with the illegality of the two – the purpose of the contract and the consideration.  For example: If money has been lent for the marriage of the minor, the consideration for the contract is credit and the object is marriage, the Madras High Court found that the purpose refutes the provisions of the Child Marriage Restraint Act. The word «object» in section 23 is not used in the same sense as «reflection,» but has been used as a distinctive agent of respect and means «purpose» or «design.»  The section invalidates an agreement whose objections or considerations are unlawful. These are three points, namely (1) the counterparty of the agreement, (2) the purpose of the agreement and (3) the agreement. In the event of a cancellation of a contract, any part of that contract, including the employment clauses it contains, is deemed invalid. Example 1: A, an owner, rented his house to B, a commercial sex worker, knowing that it would be used for immoral trade. The landlord can`t get the rent back. Here, the object is immoral, the rent payment agreement is invalid.
The California Court of Appeals for the Third District refused to execute an agreement on the payment of debt notes used to acquire the organization of the drugs and similar products. Although the items sold were not in fact illegal, the court refused to comply with the agreement on public policy grounds. 24. Agreements cancelled when illegal considerations and rebuttals in part sanitize A suspension obtained other than on the charge of illegality of the contract was considered non-illegal of the object if the construction cannot find a buyer in contentious circumstances, but the contractor cannot get rid of it according to the doctrine of illegality or impossibility.  If the purpose or consideration of an agreement is unethical, it is set aside. The following examples would help to better understand the point. Section 23 of the ICA 1872: What considerations and rebuttals are legal and what is not.- The general rule is that illegality should be charged, and if one of the parties challenges an agreement as unenforceable, for example.B.