It's reasonably simple: Be sufficiently powerful and your sins will be overlooked (for a recent example: See Donald Trump's "sentence" in New York). And in non-rule-of-law societies your sins-while-powerful will be used against you (this is why democracies historically always had immunity arrangements)