French President Emmanuel Macron said that Ukraine's NATO accession was brushed aside in early 2022 in a "completely different" context.