Lying to judges is routine for the government.
http://www.washingtontimes.com/news/2015/mar/2/judge-rules-epa-lied-about-transparency/
Three separate agencies in this example, and if there were any sanctions or other penalties for these lies I have missed them.
Reference bump!
None of those are examples of a law enforcement agent, (who remember, must be considered trustworthy by the legal system) lying to a judge.
Perjury is a career ender for a law enforcement official.