A Spanish court has annulled restructuring plans by Coca-Cola Iberian Partners' (CCIP), which involved the closure of four of its plants and the laying-off of 1,190 staff.