Hijab part of a student’s right to privacy, SC told