The European Union 's second highest court has ruled the bloc has the right to freeze the assets of citizens the United Nations suspects of terrorist links .