Riot police in Turkey used tear gas and water cannons to disperse thousands of protesters in Izmir on Tuesday, days after a court ruling removed the elected leader of the main opposition party and reinstated his predecessor.