French President Emmanuel Macron warned his country’s people Thursday to prepare for a total cutoff of Russian natural gas by supporting alternatives, having public lights switched off at night and engaging in a period of nationwide energy “sobriety.”

Also read: North Korea recognises independence of separatist regions in Ukraine

The Russian invasion of Ukraine and ensuing sanctions have aggravated other factors driving up prices for energy and others goods. With no end in sight for the Ukraine war, Macron said, the French should brace themselves for costs to remain high.

“This war will continue,” he said in a televised interview marking France’s national holiday, Bastille Day. “The summer, early autumn will be very hard.”

“Russia is using energy, like it is using food, as a weapon of war,” Macron said. “We should prepare ourselves for the scenario where we have to go without all Russian gas.”

Also read: Ukraine’s Volodymyr Zelensky holds Russia ‘responsible’ for ongoing Sri Lanka crisis

He said the government would prepare a “sobriety plan” to conserve energy, which would start with turning off public lights at night when they aren’t useful.

France will keep looking to diversify gas sources, he said, calling for a faster shift toward offshore windfarms and more European cross-border energy cooperation to weather the current crisis.

Macron’s political opponents on the far right and far left have blamed EU sanctions for reducing the purchasing power of French consumers while failing to persuade Russian President Vladimir Putin to pull troops out of Ukraine.

France’s president gave no indication during the interview of policy shift toward Ukraine.

Also read: For the first time in 20 years, the US dollar and the euro are at parity

“What do you want us to do?” he asked. “We want to stop this war without getting involved in this war. At the same time, we want to do everything so that Russia doesn’t win, so that Ukraine can defend its territory. We don’t want a world war.”