58It points out that, in Case C-302/04Ynos [2006] ECR I-371, paragraphs 36 and 37, the Court held that Community law can be applied in the relevant Member State only with effect from the date of that State’s accession to the European Union and only if the facts relevant to resolution of the dispute occurred after its accession.