a writ requiring a person under arrest to be brought before a judge or into court, especially to secure the person's release unless lawful grounds are shown for their detention.
So, this protects people from being arrested without breaking the law, but it doesn't exactly protect people who are arrested for breaking a law that is impossible to not break.
I mean, it might to an extant, but... if a court is judging strictly off of legality, which hypothetically would be the definition of an "impartial judicial body",
then technically anyone can be detained for breaking an easily breakable law and be prosecuted.
Unless I'm reading into this wrong. Which, I hope I am, but if I'm not...