1. The reason Germany has to scale (temporarily) on coal wasn't the exit from nuclear power. It's because Germany stopped importing russian gas.
2. Why does France need to import electricity in the first place? Hint: It's because HALF of their nuclear reactors needed maintenance.