93As a preliminary point, it must be recalled that, although it is necessary, in order to comply with the principles of legal certainty and the protection of legitimate expectations, to apply the substantive rules in force at the date of the facts at issue, even if those rules are no longer in force when an EU body adopts an act, the procedure for adopting an act of an EU institution must be carried out in accordance with the rules in force at the time of adoption (see, to that effect, judgment of 14 June 2016, Commission v McBride and Others, C‑361/14 P, EU:C:2016:434, paragraph 40).