The European Union’s top court ruled on Thursday that a contested Spanish law granting amnesty to individuals involved in Catalonia’s separatist movement does not violate EU regulations. This decision provides a significant boost to the Spanish government and its Catalan allies.