It is wrong if that is what actually happened, but how do you know the cop gave the guy your info? Maybe the guy was lying about having your tag, and even if he does, what can he really do with it? He would have to video tape you doing something illegal to actually get you in trouble no matter how much he hates bikes.
By the way, not really a good idea to be a smart ass to a cop even if you didn't do anything wrong. When push comes to shove he can fuck you a lot harder than you can fuck him.