3.1. The persons acting on behalf of a school or other temporary alternative environment for children may engage in the activities described in section 39.7 of the Professional Code (chapter C-26) if an agreement to that effect has been entered into between the school board, an institution as defined in section 54.1 of the Act respecting private education (chapter E-9.1) or temporary alternative environment and an institution within the meaning of the Act respecting health services and social services (chapter S-4.2) or the Act respecting health services and social services for Cree Native persons (chapter S-5).