Yes, thats how our justice system works. You assume someone is innocent until evidence or confession proves them guilty. Even if the victim is a women or a person of color. If you dont like that, feel free to find any number of societies that dont do this.