A very similar thing happened here in New Zealand where we tracked right with fairly dire and predictable consequences, from a left-wing government that was shouldering the blame for a whole lot of macroeconomic issues they had little control over.
It doesn't really matter if they did the right thing or not - enough people were looking to punish them regardless.