Illegal markets will never go away as long as there are things ponies can't buy in regular markets. If you tried to get rid of these markets they would just hide better and be harder to find and control. So instead the crown lets a small and controllable amount of illegal markets so it's easy to keep them under proper watch and control. 