LOL. Glad I'm not alone in catching that!
But, to OP - the reason the state is "aloud" (the word you are looking for is allowed - it seems like school wasn't doing you much good even before your house arrest...you must have also missed the day they covered punctuation) to impose such restrictions before you have even been convicted is that [U]you agreed to it[B] as a condition of your pre-trial release from custody. The alternative is that the state would have simply held you in jail (or juvenile detention, depending on your age) for those months! Apparently, the state feels that you are a substantial risk to commit further offenses if your activities are not significantly restricted...and a judge, who reviewed the case against you, agreed! Your "rights" are being infringed because there is evidence that A) your actions and behavior have infringed on the rights of others and B) you will continue to do so if not confined.
Behind the badge is a person. Behind the person is an ego. This is as it should be, person at the center and ego to the back.