54Consequently, as stated by the Advocate General in points 65 to 67 of her Opinion, should the available statistics actually show that the percentage of former workers whose amount of such occupational pension has been affected by the national legislation at issue is considerably higher among male former workers coming within the scope of that legislation than among female former workers coming within its scope, it would be necessary to hold that that situation is evidence of indirect sex discrimination, contrary to Article 5(c) of Directive 2006/54, unless that legislation is justified by objective factors wholly unrelated to any discrimination based on sex (see, by analogy, judgment of 6 December 2007, Voß, C‑300/06, EU:C:2007:757, paragraph 42).