The prime minister set out his plan just hours after the US warned France of import tariffs.