The 18th-century French marquis recalls his sadomasochistic experiments and goes to jail for lewd behavior.