The role of the legal system (and government) is to keep those worth the most, safe. As a consequence, it may sometimes also protect regular people because that makes the society that feeds and supports them safer.
But make no mistake, 1 there is no real power other than the power of force, and 2 he who has the gold, makes the rules.