The real problem are transport and heating. In most countries, those consume significantly more primary energy than the electricity sector and are still mostly fossil fueled. For example, more than half of the primary energy consumed in France is oil and gas. Heat pumps and electric vehicles or trains can now finally change this, but the transition is very slow.