Thousands rally in Spain against Catalan amnesty law