Notwithstanding the foregoing, the Board shall have the right to disregard the length of service of any teacher in the event of a lay off, if such teacher does not have the necessary training or academic qualifications or experience for a specific teaching assignment.