Yep and... even if you didnt consent to a search... its basically your word vs the cops... I went through the same thing with vicodin.. exept the cop said "mind if i search your vehicle" and i said "why" then the cop said
"well now im gonna search it anyways" well in court... the cop admitted that... "it was possible i said that but i dont remember it was a long time ago".... and I still lost my case.. and I had one of the best narcotics attorneys in all of CA... Just shows that its your word VS the cops...
Now... Who do you think the JUDGE will believe.. some stoner? or an officer of the law...