Role of the Qazi is different than that of judges. His job is not to be stuck in a courtroom to deliberate only the evidence there, but to ascertain the truth with hikmah. He is further personally accountable for all decisions he makes. He can be removed by his superior, who in turn has a superior, this goes all the way up to Mufti e Azam.
Our Qabaili lakke and Afghan Pukhtoon areas utilize this form of jirga justice in a simple form.
It is hard to explain, if you have seen Yunus Emre, they show how this functioned during Seljuk times.