Judge voices concerns about legal cannabis scheme's 'illicit