It further provides that the making of such an assignment and the enrollment of such child or children "shall automatically divest the school authorities making the assignment and the enrollment of all further authority, power and control over such public school, its principal, teachers and other employees, and all pupils then enrolled or ordered to be enrolled therein; and such school is closed a