I actually dont know how this particular country works but in most communist state, if the party secretary and state chairman are not the same person, the secretary outranks them