Article 264 TFEU

If the action is well founded, the Court of Justice of the European Union shall declare the act concerned to be void.

However, the Court shall, if it considers this necessary, state which of the effects of the act which it has declared void shall be considered as definitive.