There’s a village in France called Sainte-Verge, and its name is funny to those who speak French.
In French vierge- spelled with an i- means virgin. On the other hand, verge- like the name of the place, officially means rod or staff — but really, its most common usage is as a slang euphemism for the penis.
In Middle French, the two words were homonyms. I’m not sure whether the slang meaning existed back then, but probably yes, it’s the kind of joke Medieval…