yea the stupidity of police will never cease to amaze me but there was no probable cause to search your vehicle you should never give consent to search your car EVER this thing could have been much worse in the future i would do any bagging and splitting at the house if you must carry a quantity of weed in your car put it in the trunk and never give consent that way if they do search and find something your attorney can file a motion to supress the evidence there is a good short film about traffic stops called busted acitizens guide to surving police encounters if you can find it give it a watch