here's the bad news.
Cousin got done in a similar fashion here in Sydney. Copper in an undercover car BA falcon pulled them both over for doing the same thing, the traffic light grand prix. Went to court and represented himself pleaded guilty and copped a 3 year suspended license plus some huge fine. He didn't lub himself so he was quite shocked when the sentence was handed down.
So get yourself a lawyer.
As for what you did, no matter what way you look at it, it's pretty stupid.