If the accused is sentenced to unsuspended imprisonment, the court hearing the case pursuant to articles 395 et seq. may, regardless of the length of the sentence, order, on the basis of the elements of the case, that the person be placed or kept in detention by a specially reasoned decision. The provisions of articles 148-2 and 471, second paragraph, are applicable.
The court shall rule within four months of the appeal by the detained accused against the judgment on the merits, failing which the accused, if not detained for another reason, shall be released automatically.
If the court considers it necessary to issue an arrest warrant, the provisions of Article 465 shall apply, regardless of the length of the sentence handed down.