(1) A correctional employee (other than an employee referred to in subsection (2)) is guilty of an offence if the correctional employee engages in sexual conduct or an intimate relationship with an inmate or a person who is subject to a community-based order and the conduct or relationship--(a) causes a risk or potential risk to the safety or security of a correctional centre or correctional complex or to good order and discipline within a correctional centre or correctional complex, or(b) compromises the proper administration of a sentence or a community-based order.: Maximum penalty--20 penalty units, or imprisonment for 2 years, or both.
(2) It is not an offence under this section if a correctional employee did not know, while the employee engaged in sexual conduct or an intimate relationship with an inmate or person subject to a community-based order, that the other person was an inmate or subject to the order.