When the invalidity of a text on which the collection of a tax recovered by the agents of the Directorate General of Customs and Excise is based has been revealed by a court decision, the action for refund referred to in Article 352 may only relate, without prejudice to the provisions of Article 352a, to the period after 1 January of the second year preceding that in which the decision was taken.