a student of class 5 have to be 6 years old
This is not correct. A student of Class I needs to be of 6 years old as per RTE , a student of Class V, thus, should attain 10 years of age.
So a student of Class IX normally crosses the Border of 13 years of age during Registration. Moreover, this present criteria of age has come into effect from 2013. So the age restrictions for MP may also be revised in future, when this batch would appear in MP.