The prosecutor may request it before the control-of-guarantees judge (Law 906, art. 306), but it is not automatic. The judge orders it only if the evidence supports a reasonable inference that you may be the perpetrator or participant and one of three requirements is met: that the measure is necessary to prevent you from obstructing justice, that you pose a danger to society or the victim, or that you probably will not appear or comply with the sentence (art. 308). The provisional legal classification is not enough, by itself, to infer those risks (art. 308, par. 1). Pre-trial detention in prison applies, among other cases, to crimes prosecutable ex officio whose minimum penalty is or exceeds four years (art. 313, num. 2); articles 402 and 434A have a minimum of 48 months, which fits that case if the requirements of article 308 are also met, while 434B starts at 36 months, which in principle places it among the non-custodial measures of article 315, unless the sentence is increased by amount. Non-custodial measures include electronic monitoring, periodic reporting, a ban on leaving the country and bail, among others (art. 307). Provisions that restrict liberty are exceptional and their application must be necessary, suitable, proportionate and reasonable (art. 295).