When deleting programs and classes, we first have to remove the currently enrolled student. And then have to reassign them into a new class or program.
It would be good to see some sort of history or their original enrolment even after deleted the original class/program.