I understand this - maybe I wasn't clear enough.
What surprises me here is that, using those substitutions, we effectively substituted for the entire original integrand.
I don't remember having seen such a thing before, and I am wondering whether this is common and in which cases it works.