I sort of did a story like this, but it was not the sole intent of the story.
In my story, set in 1600's in Ireland, a woman was hauled before a Duke because she was found eating one of the nobleman's rabbits. She made the statement that it was because her husband was ill and they had no food, but the Duke saw how pretty she was and demanded that she step before him in complete nudity. She cited that she was married and that she couldn't. For that the guard stripped of her clothing before the Duke and the rest of the court then sentenced to the Rack in the Dungeon.
In the Dungeon where the Duke meets with her alone he finds out that she saw him in her youth as he came through her village by horse back, but was betrothed to her husband. Even now it would be against her vows to stand naked before another man, but seeing the gleam in the Duke's eye, knew she would be stripped of her clothing, thus letting him see her, but her vows remained intact. A calculated move.
For that, the man and her have sex, a "punishment" of sorts, though she really wants it as her husband has been cruel to her over the years, squandering her family's money on drunkenness, and whipping her for minor infractions.
Not wanting this beautiful matron to be in his dungeon, he comes up with a punishment more fitting, for her to be in the castle for a week with absolutely no clothing. Of course she does not really mind, but no one is the wiser.
At a diner he notes her reserve on eating at his table and chides her for it, swearing to teach her the "lesson of the forest". The next day she is ridden nude on horseback, outside the castle to the forest where she must pick out her cane and take a hard lashing, of course now in love, being something she wants as much as he wants to give. Then the two make passionate love. Strapped back on horseback with her bruised bottom availed for the townspeople to see, everyone thinks the matron has been broken.
So the next night at the diner table no one blames the matron when the Duke bodes her to dip beneath the table and feast. From the sounds, everyone knows she is giving the duke oral pleasure, but knowing what she endured in the forest, no one can blame her for doing so. Later, for being so willing, the Duke grants her the oral pleasure of another woman upon her.
At the end of the week no one is sure what will happen, but the Duke surprises everyone, bidding the matron to come forward to his court, giving her nothing but a white veil. He then informs her that her sick husband has died, but she suspects it was really at the hand of the Duke, but despises her husband enough to remain mum. The veil however is her wedding dress of sorts, and with a Cardinal beside him, marries the now widow. Even more surprising he consummates their marriage before everyone which ends up being the start of the next generation as he impregnates her at that time.