Istanbul's powerful opposition mayor, Ekrem Imamoglu,  condemned on Friday what he described as "judicial harassment" targeting him, as thousands of supporters demanded justice outside the court.