Supreme Court judge Justice Hemant Gupta, in a divided verdict, on Thursday dismissed appeals challenging the Karnataka High Court judgment which upheld the state government’s February 5 order, prohibiting wearing of hijab inside classrooms in pre-university colleges.