Why and how with probability close to 1 bootstrap and classical tests provide the same decision? Is it caused by loss of pivotality?

Here is an example on which my question is based can please someone tell me what is the relation between the probability close to one and the fact that we have same decisions as classical tests and most importantly is this caused by the loss of pivotality? Thank you very much.