The law says
IRPA s. 6161 The regulations may provide for the application of this Division, and may include provisions respecting
- (a)grounds for and criteria with respect to the release of persons from detention;
- (a.1)the type of conditions that an officer, the Immigration Division or the Minister may impose with respect to the release of a person from detention;
- (a.2)the type of conditions that the Immigration Division must impose with respect to the release of a designated foreign national who was 16 years of age or older on the day of the arrival that is the subject of the designation in question;
- (a.3)the conditions that an officer, the Immigration Division or the Minister must impose with respect to the release of a permanent resident or foreign national who is the subject of either a report on inadmissibility on grounds of security or a removal order for inadmissibility on grounds of security;
- (b)factors to be considered by an officer or the Immigration Division; and
- (c)special considerations that may apply in relation to the detention of minor children.
Justice Laws is the authoritative version. If this copy and it ever differ, Justice Laws wins.