The raids are part of inquiries into the use of consultancies by France’s president in 2017 and 2021.