A Canadian offender who was from 12 to 17 years old at the time the offence was committed is to be detained
(a)if the sentence imposed in the foreign entity could, if the offence had been committed in Canada, have been a youth sentence within the meaning of the Youth Criminal Justice Act,
(i)in the case of an offender who was less than 20 years old at the time of their transfer, in a youth custody facility within the meaning of that Act, and
(ii)in the case of an offender who was at least 20 years old at the time of their transfer, in a provincial correctional facility for adults; and
(b)if the sentence imposed in the foreign entity could, if the offence had been committed in Canada, have been an adult sentence within the meaning of that Act,
(i)in the case of an offender who was less than 18 years old at the time of their transfer, in a youth custody facility within the meaning of that Act,
(ii)in the case of an offender who was at least 18 years old at the time of their transfer, in a provincial correctional facility for adults if their sentence is less than two years, and
(iii)in the case of an offender who was at least 18 years old at the time of their transfer, in a penitentiary if their sentence is at least two years.
Federal laws of Canada reproduced under the Reproduction of Federal Law Order (SI/97-5); not the official version. Source: Justice Laws Website.