I think there’s a difference between ruling and representing. I would argue that a government is not representative if there is no free speech and no democracy even if that government has widespread popular support. However, I’m not sure why this question is relevant in the context of the ongoing conflict. There’s no principle dictating that a war may only be fought against a representative government.