I firmly believe that laws provide psychological boundaries for most people (in that I believe most people are neutral good, lawful good or neutral evil), and provide tools for some to abuse others (the lawful evil). Given a perfect distribution, or even a bell curve, I think yes, most uses of law are not used for evil purposes. But there is a significant segment of the spectrum that does. Of course, in my purely anecdotal system based on Dungeons and Dragons. :P
Dan Ariely's recent book titled "Dishonesty" presents a lot of research that supports this. His thesis (in part) is that people tend to cheat / lie right up until the point they can no longer internally think of themselves as decent people.
In this interpretation, the legal system is a reasonably objective proxy to inform people how far they are across the line. This suggests that even unenforced laws can help establish an acceptable norm, so people have an external comparison.