[excerpt]
Immigration and Refugee Protection Act,2001
[….]
Section 60.
For the purposes of this Division, it is affirmed as a principle that a minor child shall be detained only as a measure of last resort, taking into account the other applicable grounds and criteria including the best interests of the child.
[…..]