I have been to traffic court several times, and have been a witness in court as well. I have yet to see a police officer tell the truth in a court of law.
A good friend of mine is a prosecutor. He said the single biggest problem prosecutors have is lying cops.