The freedom of contract is pretty fundamental. The entire point of a contract is to force you to do something it's your right not to do or to not do something you have the right to do.