The French president warned Wednesday that political extremists presented a danger to France.