ITAP for when the stated goal goes one way, the motives behind it go the opposite way, and yet the outcome aligns with the stated goal anyway?
Examples:
A thief knocks on the door of some old lady, dressed as a locksmith so that breaking into her house doesn't arouse suspicion. To his surprise, he finds that she is home, and not only that, her lock is broken. So he fixes it and leaves.
The crooked mayor of a town in the U.S. Midwest hides the embezzlement of taxpayer money by billing contractors for twice as many public tornado shelters as usual, then cancelling the contract on a few of them right before they're built. There are still more tornado shelters than in your average town so no one notices that he pocketed the cancelled project funds. A major tornado outbreak occurs right over this town, and many lives were saved due to the extra shelters. The mayor is applauded as a hero and a wise leader.