Because God is a God of justice, our sin is presented before the heavenly court. But the Bible tells us that Jesus is our advocate, speaking on our behalf. And he presents the evidence that the penalty for our sin has already been paid for. The verdict then is that justice has been satified and were are declared "not guilty". What an amazing gift from God.