Iowa Code
Chapter 27A - ENFORCEMENT OF IMMIGRATION LAWS
Section 27A.3 - Completion of sentence in federal custody.

27A.3 Completion of sentence in federal custody.
1. The court, in a criminal proceeding in this state in which the sentence requires a defendant who is the subject of an immigration detainer request to be confined in a correctional facility, shall issue an order at the time of sentencing requiring the correctional facility in which the defendant is to be confined and all appropriate government officers to require the defendant to be transferred to serve in federal custody the final portion of the defendant’s sentence, not to exceed a period of seven days, if a facility or officer determines that the change in the place of confinement will facilitate the seamless transfer of the defendant into federal custody. The court in a criminal proceeding in this state shall retain jurisdiction to issue such an order at a later date if the court receives notice from a federal agency that a defendant was the subject of an immigration detainer request at the time of sentencing. The court shall issue such an order as soon as practicable after receiving such notice.
2. In the absence of an order issued under this section, a facility or officer acting under exigent circumstances may perform such a transfer after making a determination that the change in the place of confinement will facilitate the seamless transfer of the defendant into federal custody.
3. A defendant shall be transferred pursuant to this section only if appropriate officers of the federal government consent to the transfer of a defendant into federal custody under the circumstances described in this section.
2018 Acts, ch 1089, §3, 12