Lloyd H. Steffen wrote in The Christian Century how when King Frederick II (the Great), an eighteenth century king of Prussia, was visiting a prison in Berlin, the inmates tried to prove to him how they had been unjustly imprisoned. All except one. That one sat quietly in a corner, while all the rest protested their innocence.
Seeing him sitting there oblivious to the commotion, the king asked him what he was there for. "Armed robbery, Your Honor."
The king asked, "Were you guilty?"
"Yes Sir, " he answered. "I entirely deserve my punishment."
Then king then gave an order to the guard: "Release this guilty man. I don't want him corrupting all these innocent people."
==============
Another version:
The story is told that one day Frederick the Great, King of Prussia, visited a prison and talked with each of the inmates. There were endless tales of innocence, of misunderstood motives, and of exploitation. Finally the king stopped at the cell of a convict who remained silent. “Well,” remarked Frederick, “I suppose you are an innocent victim too?” “No, sir, I’m not,” replied the man. “I’m guilty and deserve my punishment.” Turning to the warden, the king said, “Here, release this rascal before he corrupts all these fine innocent people in here!”
=============
Another version, with a different king:
In the early part of the reign of Louis XVI, a German prince traveling through France visited the arsenal at Toulon where the galleys were kept. The commandant, as a compliment to the prince's rank, said that he was welcome to set free any one galley slave whom he should choose to select. The prince, willing to make the best use of the privilege, spoke to many of them in succession, inquiring why they were condemned to the galleys. Injustice, oppression, false accusations were assigned by one after another as the causes of their being there. In fact, they were all injured and ill-treated persons.
At last he came to one who, when asked the same question, answered to this effect: "Your Highness, I have no reason to complain. I have been a very wicked, desperate wretch. I have deserved to be broken alive on the wheel. I account it a great mercy that I am here."
The prince fixed his eyes upon him and said: "You wicked wretch! It is a pity you should be placed among so many honest men. By your own confession, you are bad enough to corrupt them all; but you shall not stay with them another day." Then, turning to the officer he said, "This is the man, sir, whom I wish to be released."