The provisions of section 120A.22, subdivision 5, shall not apply to any pupil during a dismissal pursuant to sections 121A.40 to 121A.56.