Concluding a months-long saga in which central and eastern European nations revolted against Brussels’ refugee policies, on Wednesday the European Union’s highest court ruled that EU states must take in a share of refugees who reach Europe, dismissing complaints by Slovakia and Hungary and reigniting an angry row between east and west.