French mayor to face court after banning pesticides