In the 17th and 18th centuries nobility was above the law and engaged in all kinds of sexual practices.