I think it can be called "poetic justice"?