In the event of an agreement reached by a person by which he is obliged to do something that is his public duty, the agreement of the order is not concluded. For example, an agent`s agreement to make secret profits is not valid because it is a matter of public order. Similarly, contrary to public order, an agreement concluded by a government official for the purchase of land located in his circle is illegal. An agreement to restrict the marriage of a person other than a minor is null and void. The law does not require everyone to marry….