Political leaders or governments owe their position partly to force and partly to popular election. They cannot be regarded as representative of best elements, morally or intellectually, in their respective nations.
Likewise the leader of any state has to do the same, he has to enforce Shariah firmly, for he will be held in account later in the afterlife if he fails.