The general effect of illegality when concluding a contract is to cancel that contract. The situation can occur if a party wishes to take legal action under an illegal contract. Here, the defendant is in the strongest position where there is an identical fault (liability for fault). If two persons enter into an agreement that prohibits or disapproves of the law, neither party may enforce that agreement with the other party. For example, if Bert Jeff paid $600 to attack his competitor Fred, Bert could not get the money back in court if Jeff did not do the illegal act. To make an agreement legally enforceable, the parties must demonstrate their intention to create legal relationships. This may be done in writing or by acts interpreted by the courts in such a way that they imply intent. These are agreements to stifle prosecution. For example, if a person steals a motorcycle, a non-lawsuit agreement for the return of the motorcycle is not valid.
These are agreements with holders of official positions in which they agree to use their influence for the benefit of the other party. Agreements of this type are often formed in the commercial world. An agreement to restrict trade can be defined as an agreement preventing a party from freely carrying out its commercial, commercial or professional activities. It should be noted that it is only inappropriate restrictions on trade that are illegal under customary law. See Nordenfelt v.Maxim Nordenfelt Guns & Ammunition Co  AC 535. The first class includes cases in which, although agreement on this point is not reached, the court infers from its nature or circumstances the absence of such intent. The cases most likely to fall into this class are those relating to domestic and social agreements and arrangements. An example of this class is the case of Balfour v Balfour (1919) 2 KB 571.
Look at this case in your manual. An example of this would be the agreement to meet her boyfriend at the movies. Consent obtained through fraud, misrepresentation or factual error is deemed to be legally inaccurate. This does not mean, however, that the law considers the contract to be void. As you have seen, the contract is not valid if the object was destroyed or non-existent at the time of the conclusion of the contract and both parties know this. However, if the courts may infer from the conduct of the parties an undertaking as to the existence of the object, the contract is valid. A minor may be held liable for a contract that benefits that person. This applies to the minor`s subsistence agreements, training contracts or a training contract.
In deciding whether the contract benefits the minor, the agreement must be considered as a whole and current and future restrictions must be accurately taken into account. Coercion consists of effective or threatened violence or detention of the party itself, the spouse and children, so that the consent of that party is not real, but results from fear. . . .