The court heard that unmarked police cars spotted a car driving erratically, with a strong smell of cannabis coming from it