I thought the whole world is having the same justice system

Even shelock holmes also thrive in tis same justice system. It is because it is possibly the best in existence and tat can help shelock holmes thrive in tis environment. If we abolish tis system, wat system should we adopt for law ? Jury duty makes it more unfair. Making judgement by a different group of people who do not know law is not necessary fairer than an experienced judge. And sometime commoner have to take time to leave their work and follow a case which may drag many years which is a burden to society
Talking about witnesses lying, it is a fundamental problem of men. If we allow witness account, we have to be prepared for them to lie and it will always be around for all system. Now the only thing the system can do is to give out heavy sentence for lying, allow lawyers to scrutinise witness and make them sworn an oath. And if u suffer a grave injustice, the state provide u with the lawyers.
Talking about justice bao, he also live in a system where he follow the law, lawyers fighting for cases but he have to play prosecuter, judge, investigator and administrator of the state at the same time and every crime have to be ended with a confession making torture rampant which is obviously worse off than the current system.
Note we should be talking about system, not the people working in it. In the past time there may be bao jin tien, but if u like to serve justice so much u can still become a modern police investigator. There r always role for investigator in any time.
Lastly, the examples or famous character u quote r either fiction or greatly exaggerated. Name me one real example of a real life shelock holmes in any country now