In 1890 a Swedish gentlemen desperately in need of money signed a contract with the Caroline Institute in Stockholm (which also awards the Nobel Prize in medicine) stating that the doctors there can use his body for dissection purposes after his death. In return he got the money he needed. 20 years later the same gentleman inherited a large sum of money and decided that he didn’t want to get his body dissected. He tried to buy back the contract from the institute. The institute declined and the gentleman took them to the court.
He not only lost the case, but also had to pay damages to the institute for getting two of his teeth extracted without permission.