No, much like the ‘trial by ordeal’, in more religious times it was believed that god(s) would grant favour to those who were truly righteous and/or innocent, allowing them to survive an ordeal or win a fight.
It was effectively a verdict rendered by god, rather than the courts.