Class representative election for sister?

So, just as a bit of background information: My little sister's class consists mostly of children with a migrant background. And now to the actual question: When her class representatives were elected, there were two children with a migrant background, and the teacher apparently didn't like the candidates. Then two German children were elected instead….