We could never define a “legit” ticking bomb scenario. Because there are millions. All different. No law could decide which one could be “legit”.
Therefore no situation could ever justify torture