(a) General rule.--Under such regulations as may be prescribed under this part, a person subject to this part accused of an offense against civil authority may be delivered, upon request, to the civil authority for trial or confinement.
(b) Effect on sentence of court-martial.--When delivery under this section is made to any civil authority of a person undergoing sentence of a court-martial, the delivery, if followed by conviction in a civil tribunal, interrupts the execution of the sentence of the court-martial. The offender, after having answered to the civil authorities for his offense, shall, upon the request of competent military authority, be returned to the place of original custody for the completion of such sentence of the court-martial.