The Court states that the General Court of the EU erred in law in setting aside the Commission decisions declaring a Spanish tax scheme incompatible with the internal market. The General Court did not correctly apply the condition relating to the selectivity of State aid, which required the General Court to determine whether the Commission had established that the Spanish scheme for deductions with respect to acquisitions of shareholdings in foreign companies was discriminatory.