Structurally this practice is a lot like the preindustrial precursor of taxation, when governments would sell monopolies on the import or production of things in exchange for a lump sum. When obsolete government practices persist, they tend to be pretty sinister.
In certain states and cities with especially draconian licensing systems and quotas, the aftermarkets for permits and licenses tend to get ridiculous. Not quite as ridiculous as taxi medallions, but pretty ridiculous nonetheless. (Liquor licenses in certain parts of California have broken the $200,000 mark at auction, for instance).