Very similar to #126719. So much so that I added a new case to the test from that PR rather than creating a new one.