The European court of justice has rejected a case brought by Hungary and Slovakia against the European Union, calling for the cancelation of a mandatory quota to relocate refugees within the bloc, saying the resettlement scheme was appropriate.