The Karnataka High Court on March 15 had dismissed petitions seeking permission to wear hijab inside the classroom, saying the headscarf is not a part of the essential religious practice in Islamic faith and also stated that the uniform dress rule should be followed in educational institutions where it has been prescribed.