A lot of urban myths.
Taking the US as an example, from the time the aircraft enters US airspace, you are in the US. That is true whether you precleared before boarding or will present yourself at CBP upon arrival.
How you are handled may or may not be a matter of a bilateral agreement between the US and some other country, but that has nothing to do with "where" you are.