united-states contract-law
What types of contracts (that do not create a duty of care) can make legal actions criminal?
<p>A few questions (mostly about copyright) have me wondering if it's possible to enter into a legal contract which would make an action criminal when the same action would be perfectly legal had one not entered into the same contract.</p>
<p>To narrow the question down, I'd like to exclude contracts which establish a duty of care.  So, to be clear, I am asking about contracts which <strong>do not that create a legal responsibility for another person's well-being (physical or financial)</strong>.</p>

<p>An obvious example would be a contract that gives possession of something to someone else.  It's normally legal to use some reasonable amount of force to protect or prevent trespasses against property you own, but if you give possession of that property to someone else you can lose that right.  For example, you can use force remove a guest who refuses to leave real property you own, but can't use force to remove a tenant even if they broke the terms of your contract.  In most jurisdictions you'd need to get a court order and have the police use force if necessary remove the tenant.</p>
