Article 65 TFEU

1. The provisions of Article 63 shall be without prejudice to the right of Member States:
(a) to apply the relevant provisions of their tax law which distinguish between taxpayers who are not in the same situation with regard to their place of residence or with regard to the place where their capital is invested;
(b) to take all requisite measures to prevent infringements of national law and regulations, in particular in the field of taxation and the prudential supervision of financial institutions, or to lay down procedures for the declaration of capital movements for purposes of administrative or statistical information, or to take measures which are justified on grounds of public policy or public security.

2. The provisions of this Chapter shall be without prejudice to the applicability of restrictions on the right of establishment which are compatible with the Treaties.

3. The measures and procedures referred to in paragraphs 1 and 2 shall not constitute a means of arbitrary discrimination or a disguised restriction on the free movement of capital and payments as defined in Article 63.

4. In the absence of measures pursuant to Article 64(3), the Commission or, in the absence of a Commission decision within three months from the request of the Member State concerned, the Council, may adopt a decision stating that restrictive tax measures adopted by a Member State concerning one or more third countries are to be considered compatible with the Treaties in so far as they are justified by one of the objectives of the Union and compatible with the proper functioning of the internal market. The Council shall act unanimously on application by a Member State.