> Companies violate the law if they are the proverbial bad eggs
I would suggest that in general companies violate the law if the benefits of doing so exceed the costs (risk of penalties, imprisonment of officers and so on)
I would say there's certain segments of markets that will violate the law. I think this fits within the "bad egg" characterization I made before. New laws are often targeted directly at these segments, it changes the fabric of the market.