If he said he smelled someone on you or your car then he already had probable cause. This is how they tend to get around these stupid laws nowadays. The cops also have a right to lie to you to get you to admit anything. Really not much you cn do. If its that big a deal than hire a lawyer. If its just a fine pay it and be done with it. Since your in NY i assume you just got a fine