The European Union’s top court ruled Friday that member states must recognize legal changes to gender identity processed elsewhere within the E.U., in a case with far-reaching implications for transgender people across Europe. The European Court of Justice sided with Arian Mirzarafie-Ahi, a transgender man who sued his home country of Romania for refusing to accept the name and gender identity changes he initiated in Britain when it was still a member of the E.U. The court agreed that Romania violated his rights to citizenship and free movement by refusing to update his Romanian identity documents. “It is really quite amazing,” Mirzarafie-Ahi told The Washington Post in an interview. The 32-year-old, who lives in Cambridge, England, and works as a science tutor, is hopeful he can return to Romania with new identity documents.