W. S. Gilbert said this quote

And whether you're an honest man or whether you're a thief depends on whose solicitor has given me my brief.