So there's actually a happy ending: the Samoan judiciary actually stared down an attempted executive coup, and forced the results of elections to be respected. And they managed it because both the former government and the Samoan people had enough respect for the rule of law that any attempt to fire them or retain power in the face of a clear ruling of illegality just wasn't going to stick. And because they didn't have an army to fuck things up or give the regime the option of just ruling by force.
There's still unfinished business though. The FAST government has talked about constitutional amendments to plug the gaps exploited by the HRPP to attempt to cling to power, and there'll probably be a referendum on those at some point (since I don't imagine the HRPP will vote for them). And there needs to be a clearout of regime loyalists. The attorney-general has already said she is resigning, and good riddance - she's destroyed her credibility, utterly poisoned her relationship with the judiciary, and made her position with the new government untenable by being an utter patsy of the HRPP. The head of state also needs to go: the court has been clear that he has repeatedly overstepped the constitutional mark and acting in bad faith throughout this. Though his term expires next year, so if he doesn't resign before then, he can simply not be reappointed. But above all, after this debacle Tuilaepa the tyrant needs to resign from parliament and exit politics forever. And hopefully, there'll be people in his party trying to convince him of that right now.