(1)Notwithstanding anything in this Part of this Act, no offender shall be kept continuously in detention for a period exceeding two years in pursuance of two or more sentences of detention.
(2)The foregoing subsection shall not affect the validity of any order or direction under this Part of this Act that a sentence of detention shall begin to run from the expiration of another such sentence; but so much of any term of detention to which any such order or direction relates as would prolong the total term of detention beyond two years shall be remitted by virtue of the order or direction.
(3)Where any person sentenced to detention under this Act, the Army Act, 1955, or the Air Force Act, 1955, is subsequently sentenced to imprisonment under this Act, any part of the sentence of detention which has not been served shall be remitted by virtue of the sentence of imprisonment, whether or not that sentence is suspended.