Doesn’t seem right at all.
If they are here illegally, then they should get shipped back to wherever they came from,and then not even have the chance or opportunity to enroll in school until if and when they are allowed back into this country. Period. On top of that, the school should be responsible and liable in some way for knowing and even accepting an illegal immigrant in.
Just my 2 cents