En domstol i Ankara dømte Ekrem İmamoğlu til to år og en måned i fengsel for valgfusk under kongressen i det republikanske folkepartiet i 2023.