Lying is just something that isn't a part of my personal code. Under oath, of course, and that's the salient point. It is against the justice system. And I took an oath, btw.
On a practical level, the results aren't worth the cost of lying. So some guy beats the rap? OK, that's the way the system works...imperfectly.