An Indian court on Tuesday upheld a ban on the wearing of hijabs in schools in the state of Karnataka.