The laws always have carve-outs for national security. What if the orders to deny you banking or travel or communications that come prior to a trial come from the state itself?
Agreed. Laws work when there is a shared ethical base between the People and the governments that represent them. Unfortunately, there isn't, if there ever was. The very idea that just because there's a law means 1) it's ethical, and 2) it'll be ethically enforced is foolish. I wish it weren't as I consider myself a highly ethical person. That doesn't mean I'll deny reality.
Laws can't fix this.