The theme of rapper Common's single "Testify": The man on trial is a petty drug dealer accused of a shooting. His wife is extremely distraught and disruptive in the courtroom and when he is found guilty she seems to break down.... until it is revealed she is a criminal "queenpin" who set her husband up to take the fall for the murder she committed. The dramatic outbursts in the courtroom were entirely for show.
In The Protomen 's rock opera based on the Mega Man video games, Dr. Wily is on top in both acts, the heroes dying out or just plain giving up. Joe is dead in Act II, Protoman defected to Wily's side and is killed, and Megaman abandons the city at the end of Act I. Only Act III will tell if he truly wins his battle.
In Dave Alvin's "Mary Brown", the titular Bad Gal convinces the protagonist to kill her abusive husband, lets him take the rap by lying in court, and ends up marrying her dead husband's best friend. At the end of the song, the still-lovestruck dope complains that even though she never returns his letters, he still loves her.
3OH!3's "Bad Guy" tells the story of good guys getting shot dead. The chorus goes "Gather up your loved ones, gather up your friends, 'cause this is when the bad guy, the bad guy wins!", actually name-dropping the trope.