What if the contract is inconsistent with the law?

If the contract does not conform to the law, the legal effect of the contract shall be determined according to the following circumstances.

1, the legal provisions are mandatory, and the parties shall not make an agreement to the contrary in the contract. If an agreement that violates the law is made, the agreement has no legal effect.

2, the legal provisions are arbitrary, the parties can make different agreements in the contract, the agreement has legal effect on the parties to the contract.