Old story i once read

First of: Sorry for my bad english. English is not my native language.

I hope on not breaking any rules by asking for stories that have been posted and read else where or just by asking in the first place.
I’m looking for a story that i remember as 3 part story (might be more) of a royal person who in the first part have fun with a farm boy with a servant. In second part the royal girl sneaks out with the same servant and prostitue themselves at the docks/pier to two sailors and in the third part they work a gloryhole (chained to the wall) for a secret entrance back into the castle. Does any of this sound familiar to anyone?

Source: reddit.com/r/Erotica/comments/l4t77b/old_story_i_once_read