Take Libya for instance where France is helping the Haftar regime to continue waging war against the internationally recognized government alongside Russia, Wagner, the UAE and Egypt.
Pretty sure France is not there to be along with Russia and Wagner but because Russia and Wagner is there. Russia’s interest is to grow influence and cause issues to Europe.