Student takes teachers` union to task in court