You can't be just put in jail for any reason, there needs to be probably cause that you have committed a serious crime that could result in jail time. If you are held in jail without probably cause then you can file a writ of habeas corpus and will be let out of jail and can file charges against the police department.
you live an idealistic lifestyle that has not researched the truth.
there is a documentary called "kids for cash" heres a internet movie database to the documentary
http://www.imdb.com/title/tt2925642/this documentary highlights that judges were paid by prison owners to send kids to their juvenile prison for the most simplest things.
in one case a girl of 12 years old was having a basic hair pulling bitch fight with another girl. usually you would think the school would suspend them, or if the supposed 'victim' reported it to the police, the police would simply interview the girl and given her a warning. but no, she was given 4 years sentence.... 4 years for a standard middle school girl fight that happens day to day. no blood was spilled, no weapons were used.
so do you really think the court is on your side?.. start your research and you will soon learn the law is not on your side.
another example (totally different subject)
it use to be the case that you would have to with force/coercion/ threatening behavior to actually sexually assault (female/male genitalia involved) a person for it to be rape. but now you can b imprisoned just for grabbing a co-worker or any person's ass.
so goodluck next time your in a bar and innocently want to glide your hand against a girls ass as you walk by.