Two great tannaim weighed the ethics of the courtroom. Rabbi Ishmael taught: when an Israelite and a stranger come before you in judgment, acquit the Israelite by the laws of Israel if you can, and tell the other, "This is our law." If the stranger can be acquitted by his own law, do so, and say, "This is your law." And if neither law can acquit him, find some honest pretext to secure his release.
Rabbi Akiva rose against his colleague with a sharper blade. "No false pretext may be brought forward," he said, "because if it is discovered, the Name of God would be blasphemed." For Akiva, chillul Hashem — the desecration of the Holy Name — outweighed every clever maneuver a judge might devise.
The Talmud records this dispute in Bava Kamma 113a. Ishmael thought like a defender; Akiva thought like the keeper of God's reputation among the nations. Between them they mark the narrow bridge every Jewish judge must walk — mercy within the law, but never at the cost of God's honor in the world.