Erdoğan said the ruling was "a disgrace to the justice system", and criticized the Constitutional Court which had invalidated a presidential vote because a boycott of other parties meant there was no quorum.