The purpose of justice is to diminish OVERALL suffering. Not just to take legal revenge. Which implies that you do not solely judge and sentence the individual guilt, but take the context into account. I like the idea of individually adapted, context-dependent judgment. The Bhutanese constitution attempted to incorporate some basic Buddhist ethical concepts, to balance individual rights with duties and responsibilities toward society.
I am not aware of any legal disposition based on the vision of original goodness, the a priori purity of consciousness that is reflected in the legal systems of countries in which Buddhism prevails, such as Tibet, Bhutan or Burma.
Forgiveness is not saying that harmful actions are not bad and that a person will not have to face the consequences of his actions ! There is NO question of escaping the consequences of one's actions ! The notion of KARMA is nothing but the application of the general laws of cause and effect to the consequences of people's motivations and actions. ALL ACTIONS HAVE SHORT AND LONG-TERM CONSEQUENCES !