Theoretically, you do have a defense in this case. If the defense is successful, the prosecution cannot use any evidence against you that the police officer obtained as a consequence of pulling you over. For example, you might have a valid defense if:
you were a victim of racial profiling.
you were pulled over simply because you were driving a new car in a “bad neighborhood.”