You’re looking too deep into this. The judge uses the reasoning if ensuring public safety for doing this. A prime example is domestic violence. Nobody knows what the hell happened, but the judge will invoke his authority to order a no contact order. If someone(z) doesn’t folks that order, a writ of attachment is then ordered. I know it doesn’t sound cool, but a judge can articulate pre trial sanctions for the safety of the community..
Sorry about the auto -correct- nonsense. Its annoying..