ตัวบทStatutory text
มาตรา 27 ถ้าในระหว่างที่ผู้ต้องโทษกักขังตามมาตรา 23 ได้รับโทษกักขังอยู่ความปรากฏแก่ศาลเอง หรือปรากฏแก่ศาลตามคำแถลงของพนักงานอัยการหรือผู้ควบคุมดูแลสถานที่กักขังว่า
(1) ผู้ต้องโทษกักขังฝ่าฝืนระเบียบ ข้อบังคับ หรือวินัยของสถานที่กักขัง
(2) ผู้ต้องโทษกักขังไม่ปฏิบัติตามเงื่อนไขที่ศาลกำหนด หรือ
(3) ผู้ต้องโทษกักขังต้องคำพิพากษาให้ลงโทษจำคุก
ศาลอาจเปลี่ยนโทษกักขังเป็นโทษจำคุกมีกำหนดเวลาตามที่ศาลเห็นสมควร แต่ต้องไม่เกินกำหนดเวลาของโทษกักขังที่ผู้ต้องโทษกักขังจะต้องได้รับต่อไป
Section 27 If, while a person sentenced to confinement under Section 23 is undergoing confinement, it appears to the court itself, or to the court on the statement of the public prosecutor or the supervisor of the place of confinement, that:
(1) the person has violated the regulations, rules, or discipline of the place of confinement;
(2) the person has not complied with the conditions fixed by the court; or
(3) the person has been sentenced to imprisonment;
the court may change the confinement to imprisonment for a term as it sees fit, but not exceeding the term of confinement that the person would otherwise have to undergo.