Everyone agrees that it was your quick-witted response in that emergency that has led to this satisfactory outcome.
我有点不明你说的最后一个that。你说最后一个that 后面是谓语,是不是“has led”,而 to this satisfactory outcome 是定语部分。那么这么说 这个 that是 解释 emergency的了咯!
追答to this satisfactory outcome 是目的状语