Sounds like a Greg Egan writing prompt.
Second thought would probably be Derek Künsken. (no claim he's necessarily the second best option but he's definitely the second author I've read recently enough to have the name of in brain cache to come to mind as "could almost certainly pull it off")