According to prosecutors, the group was plotting attacks in Ukraine, Poland and the Baltic countries.