During the hearing on the Hijab case in the Karnataka High Court, the government argued that wearing hijab is not mandatory in Islam.