Ibn Ezra comments “Righteousness is like a building. However, unrighteousness is like a ruin. Its wall collapses in a moment.”
Torah, they would say in the medieval period, is God’s law. It teaches us how to live. But what happens when two laws conflict? Rashbam harmonizes.