Returning to the quote attributed to NT Wright, "justification is the declaration that somebody is in the right. It is a term borrowed from the lawcourt—that is what people mean when they say it is 'forensic'. 2 In the lawcourt, justification is the judge's verdict in favour of one party or the other (cases in Jewish law were simply between accuser and accused, there being no Director of Public Prosecutions). The basic meaning of the term is therefore not 'forgiveness': a favourable verdict implies that justice, not (at this stage) mercy, is being carried out. Nor is 'acquittal' quite strong enough: justification has a positive sense, indicating not merely absence of guilt but a positive standing in the right. This status is termed 'righteousness', which in this context does not refer primarily to the character or morals of the person concerned, but simply to his status in the court on the basis of the judge's declaration. Justification is the judge's verdict that someone is in the right. Righteousness is the status before the court which results from that declaration."
I have always liked the illustration of digging a hole, or from a spiritual view, a pit in hell. We start out, shovel in hand, conceived in that hole (in iniquity). If we live long enough and are not mentally challenged, we use our shovel and dig. Now the "dirt" that we toss out can be thought of as righteousness. Every time we sin, we remove righteousness. Every careless word, every time we treat others differently than we want to be treated, even the time we waste watching Star Trek.
Now how are we removed from that "realm of darkness?" Who takes that shovel away and gives us the brick and mortar and trowel to build on the foundation of Christ? God puts us "in Christ" where we are continually forgiven, continually viewed by God as not digging, thus always righteous. Now from our perspective we see that we stumble, that we miss the mark, that we do not measure up to Christ's standard. Thus we evaluate ourselves, and pick up our cross, and follow Him.
Note that this view of "justification" does not claim we are "declared righteous" but "made righteous." To paraphrase, Righteousness before God is the status we have after God places us "in Christ" and have undergone the circumcision of Christ. Although some of us might have a warped sense of Christ-like behavior, we all committed to strive to become more like Christ. But no matter our flaws, we are covered by the precious blood of Christ. And in God's eyes, we are therefore holy, blameless, justified, perfect and righteous.