Question: what does this phrase mean poetic justice?
Answer: Poetic justice is a literary device in which ultimately virtue is rewarded and viciousness is punished. In modern literature it is often accompanied by an ironic twist of fate related to the character's own action.