The emerging strength of the far-left and far-right is creating awkward choices for mainstream parties after the first round of French mayoral elections.

In many big towns and cities, Socialists and centre-right Republicans are tempted to make electoral pacts on their outside flanks in order to beat the opposition in next Sunday's run-off.

However, alliances with the National Rally (RN) on the far right or France Unbowed (LFI) on the far left carry both significant risks and opportunities. For instance, in Marseille, incumbent Socialist Mayor Benoît Payan is in a tight race against RN candidate Franck Allisio, with two other candidates also in the running.

Electorally, forming such alliances makes sense, but it also raises concerns about the mainstreamers' integrity. In Paris, for example, Socialist Party member Emmanuel Grégoire, who scored well initially, is facing the prospect of losing to LFI's Sophia Chikirou, while opposing candidate Rachida Dati struggles with a similar dilemma regarding RN's Sarah Knafo.

The dilemma is further intensified by past criticisms of far-right ascendance, especially as LFI is garnering backlash following a recent murder linked to its supporters. Previous partnerships that seemed viable have unraveled, forcing individual parties to navigate these complex circumstances carefully.

With a politically polarized atmosphere vibrating with accusations of hypocrisy and double standards, both left and right camps will face increased scrutiny in upcoming elections as they grapple with the implications of engaging with fringe parties.