What is the meaning of [Set a thief to catch a thief]

George Bohn, Henry; Ray, John (1855). “T”. A Hand-book of Proverbs; Comprising Ray’s Collection of English Proverbs, with His Additions from Foreign Languages. And a Complete Alphabetical Index. p. 136.