It follows a Supreme Court ruling that his arrest on corruption charges was illegal.