Notwithstanding the statutory maximum sentence or any other provision of this chapter, a persistent offender shall be sentenced to a term of total confinement for life without the possibility of release or, when authorized by *RCW
10.95.030 for the crime of aggravated murder in the first degree, sentenced to death. In addition, no offender subject to this section may be eligible for community custody, earned release time, furlough, home detention, partial confinement, work crew, work release, or any other form of release as defined under **RCW
9.94A.728 (1), (2), (3), (4), (6), (8), or (9), or any other form of authorized leave from a correctional facility while not in the direct custody of a corrections officer or officers, except: (1) In the case of an offender in need of emergency medical treatment; or (2) for the purpose of commitment to an inpatient treatment facility in the case of an offender convicted of the crime of rape in the first degree.