Make the distinction between government, administration and country. Iran is not developing nuclear capability — the Iranian government is. America did not invade Iraq — the American government did. The Sri Lankan government did not foul up the peace process, the present administration did.
A country’s people have only a LIMITED level of control over it’s government. When electing administrations, they often have to choose the lesser evil. It is true that a country’s people are partly responsible for what is done by the government they elect, but one must try to avoid phrases such as “[country] did [action]”.
What tends to persist from administration to administration, I attribute to “government” (my definition). Every Sri Lankan administration has been semi-socialist, therefore we can say Sri Lanka has a semi-socialist government. But the present administration is more socialist than the previous.