In my city there's court documents going 5 centuries back, and there was a tradition among scribes to fill the pages between separate cases with "obviously false cases" and other stories so nobody can add false details to the cases.
So there are stories about a sheep sueing a wolf and other classic jokes.
And in the actual court documents from 17th century there's a formally written letter signed "Pluton, lord of all hells" praising his protestant politicians for doing great job in the city :) At the time there was reformation and counterreformation going on.
And there were obviously legends based on that :)