upvote
Sounds a little like the Thieves' Guild in Discworld.

> The Thieves' Guild was established early in Lord Havelock Vetinari's rule of Ankh-Morpork. Lord Vetinari realised that what people crave is stability, and that, while it is impossible to stamp out crime altogether, it is possible to regulate it. The major gang leaders of the city were therefore called to the Patrician's Palace, where they agreed to be held responsible for ensuring a socially acceptable number of thefts.

> While initially the main money-making venture of Thieves' Guild members remained theft, albeit under strict guidelines and leaving a receipt, more recent books show a system of "insurance", whereby people may pay a fee directly to the Guild and therefore become immune to robbery for a specified period.

reply
Even without reaching for fantasy, the real world has plenty of examples of "regulated crime" with various degrees of officialdom. From the Japanese Yakuza of the Showa era, to the mafia of postwar Italy, governments will often prefer to deal with organised crime by striking deals and agreeing to shared rules of engagement.
reply