A court on Wednesday rejected a damages suit filed against a university in Tokyo by the parents of a graduate law student, who died after he was outed as gay by another student in 2015.

The parents sued Hitotsubashi University, claiming the state-run school failed to respond properly to the outing of the 25-year-old that led to his death.

But the Tokyo District Court ruled the university had not failed in its responsibility to secure a safe environment for its students, with presiding Judge Masanori Suzuki saying there was no issues with the way professors and staff members had dealt with the situation.