What distinguishes permitting a prohibited act from pardoning its penalty?

Forgiveness of Shirk and Other Sins; Threats and Divine Mercy