I still had this problem with trying to understand how God can be righteous and at the same time justify the ungodly and do so in such a way as to not punish an innocent (albeit consenting) person.I reasoned that since Christ offered himself as a sacrifice that God sort of overlooked the fact that he was innocent, and punished him anyway -but it was wishy-washy and didn't satisfy my understanding