President Emmanuel Macron, backed by several other European countries, described France's move as a "necessity".