How far does this extend? To riff off the classic example, what happens if there were a hypothetical medical condition where a violinist needed to be attached to your bloodstream for nine months and would die if removed beforehand, and you sign a contract agreeing to it before deciding at month seven that you've had enough and cut her off, killing her? Have you committed a moral crime there? And if so, should you face legal punishment for it (a separate question)?