The French presidential election and a German regional election both gave the chancellor a boost on Sunday.