On what grounds and when is a pre-trial detention allowed?

Boeroendi