The purpose of a residential treatment facility is to provide for one or more of the following—
(a) the protection of the community from offenders on supervision orders or interim supervision orders;
(b) the intensive treatment and supervision of offenders on supervision orders or interim supervision orders to reduce the risk of those offenders committing a serious sex offence or a serious violence offence;
(c) the transition of offenders on supervision orders or interim supervision orders from the facility to the community;
(d) the provision of intensive support and case management to offenders (in a therapeutic environment) to assist them in complying with the conditions of supervision orders or interim supervision orders;
(e) the short-term and safe accommodation of offenders on supervision orders or interim supervision orders.