So you were a dumbass for getting baited. That's been established.
Usually I think all cops tactics are legit and its all on the person they catch. This one kind of irks me though. I can understand undercover for ************ and drugs and whatnot since the person they are catching intended to do a crime. OTOH in this case as long as you were following the rules of the road the cop was simply antaginizing (sp) you to commit a crime which seems slightly unethical. Whats worse is it sounds like the cops tactics were putting others in danger to catch someone who at that point was following the laws. Seems a little shady to me.