(1) The conditions to which a local leave permit is subject may include either or both of the following--(a) provisions prohibiting or restricting the inmate from associating with a specified person,(b) provisions prohibiting or restricting the inmate from frequenting or visiting a specified place or district.
(2) A condition referred to in subsection (1) (a) or (b) is suspended while the inmate is in lawful custody (otherwise than while unescorted as referred to in section 38 (2) (a)).
(3) An inmate does not contravene a prohibition or restriction as to his or her association with a specified person--(a) if the inmate does so in compliance with an order of a court, or(b) if, having associated with the person unintentionally, the inmate immediately terminates the association.
(4) An inmate does not contravene a requirement not to frequent or visit a specified place or district if the inmate does so in compliance with an order of a court.
(5) In this section,
"associate with" means--(a) to be in company with, or(b) to communicate with by any means (including post, facsimile, telephone and email).