Magistrate warns of cannabis use and organised criminal gangs