Court sides with student in case over textbooks