The problem with any government or any country is that they are all founded and ruled by men, who are by nature corrupt and sinful. It doesn't matter what kind of system you have, it will still be ruled by men, and therein lies the problem.
i think the kind of system does matter, definitely. If it is based on absolute truth and justice, the chances to be corrupt are not only minimal but extremely risky ones, considering the fact that there is a system which empowered by the people, of the people and for the people, and by the govt for the govt.
Once, when Hazrat Ali R.A (the 4th caliph of Islam) was the Khalifa of his times, his iron coat of war got stolen, after sometime he saw it with some Jewish person who was trying to disassemble it, he was petrified and asked him why he was doing it? the man replied it is mine i can do what ever i wish to do with it. ALi R.A informed him that it is his and he had made it himself and enquired of how the man got it? he refused to accept it. They both went to the Qazi ( the Jurist, Judge) and Hazrat R.A presented his case, the Judge asked for witnesses, unfortunately for him, he could not gather any witness except his own son (or sons) because the people who had seen with his coat had already passed away.
The Judge declined to accept the witness of the Khalifa saying " Ali ibne talib, you have taught me yourself not to accept as a case's witness; the closest of your kin i.e the sons or relatives. I am afraid you have no witnesses to pursue your case further, this iron coat belongs to the other man."
The jew who was a new settler of that place was baffled at the system of justice so powerful that It denied its own head the power to pursue his case even though not only was he the Caliph, but also one of the most well respected companions of the Prophet muhammad saww and could have requested the judge to decide in his favor, and yet he kept quiet and accepted the verdict. He was so impressed with the caliph that he claimed the shahdah right there and returned the iron coat to Ali telling him that he had bought it from some man ( who may have stolen it) and did not wish to keep it anymore. Hazrat Ali insisted on buying it from him back, instead of just taking it, and he paid him the price that the man had bought it for. ( So hazrat ALi committed to justice, and Allah swt returned him his beloved Iron coat, who could've guessed that the man who was not willing to let it go would just hand it over in a short while? thats How Allah swt works, SubhanAllah)
My point, the system of Justice is possible, but not without inco-orporating the word of God in it, if it was working in the same world so many years ago, it can work again, the biggest question is, who wants to stop such a fair system from being adopted?
p.s( the story may not be as similar to the original narration, but as close to it as i recall, may Allah swt forgive any errors on my part)