A swap that would end more than 1,000 ticks (about 10.5%) from a 5-minute TWAP, and further than it started, reverts with OutsideBand. A swap back toward the reference always passes.
On CURB/IMD a 500 IMD buy was mined as a failed tx, for exactly that.