Why the fuck'd you give it to him? You coulda said "too bad I don't consent to searches" when he threatened to search your vehicle. Smell is NOT probable cause.