Court rebukes university over $17,500 security fee