A student teacher or intern under the supervision of a certificated teacher, principal, or other administrator shall have the protection of the laws accorded the certificated teacher, principal, or other administrator, and shall, while acting as such student teacher or intern, comply with all rules and regulations of the local board of education and observe all duties assigned certificated teachers.