Ivory Coast's top court has cleared the path for President Alassane Ouattara to seek a contentious third term, as protests turned violent in several cities and fears grew of a repeat of the conflict that claimed 3 000 lives in the West African country a decade ago.