What is your source for all these claims? I can't think of ever having heard of someone being detained for the purpose of "preventing perjury/collusion/deception" in court. Usually pretrial detention is because the court determines the individual is physically dangerous to themselves or society...or because there's a flight risk.
Especially given that one is guaranteed access to council, and often is permitted visitors...