the guy in charge was legally elected. then he did a bunch of bad stuff like shooting protesters in the street with weapons that the police were not supposed to have.
THEN the parliament impeached him, and he was removed because he was found guilty. According to how their constitution works he is not a member of the official government any more. He is now on trial in abstencia for crimes against humanity which includes mass murder and treason and armed rebellion against the legitimate government in kiev.