Yeah, pretty much. One of the essential principles of Western democracy is that everyone should be equal under the law, that what is a crime for a peasant should also be a crime for a noble. If you can use money to purchase better legal outcomes (through e.g. better legal representation), that principle is undermined.
In the USA at least, much of our government could function nearly the same regardless of if our market system is completely laissez-faire capitalism, or hardcore communist. In fact, you could argue that government and its' systems, like the judicial system should be completely devoid of any possibility for profit motives. Since, as saucetenuto states, those undermine the system.
Now, I don't want to get into an argument about whether good lawyers deserve to get paid better than bad lawyers, etc. But I don't think I'd want to meet the person who sees the justice inequality between rich and poor defendants and thinks "All is as it should be."