well if their marks are not good they will surely be denied promotion to a higher class. whats so unjust about that?

Dont blame the school for that. Blame the system which forces them to do that.

And this is common in all the Indian schools anywhere in the world.