Wow.
In my experience (USA), I've never seen this. Of course most schools have "ret*d classes" where kids determined to be EDP (emotionally disturbed people) get put. If misconduct is bad enough, a kid could be put in "internal suspension" where you stay in a room with a teacher and do your class assignment cut off from other students.