Enforced: Bob betrayed the Rag Tag Bunch Of Misfits for theEmpire, but wasn't originally supposed to betray the The Empire as well, but when the producers wanted more drama out of Bob, they demanded he betray The Empire and work for theFederation.
Lampshaded: "Well, I an't say I'm surprised you stabbed us in the back, after what you did to thos misfits".
Invoked: Alice wants to betray the Rag Tag Bunch Of Misfits and expects Bob to do so as well, so she prepares to betray the Misfits with him.
Implied: A character will mention Bob has been in several alliances before, but Bob was never invited back due to bad blood.
Word of Bob's tendency to betray his allies quickly spreads wide and far, to the point where no one trusts him and he is eventually Rewarded as a Traitor Deserves.
Bob and his "friends" are so busy backstabbing each other, jockying for power, and following their own agendas that nothing gets done, and the "slow, inefficient, lesser" members of the Quirky Miniboss Squad manage to all but walk past them and get what they want without too much trouble.