The earths magnetic field influences the needle when I am standing 400+ km away from magnetic north. To have the coil of a transformer influence my needIe, I have to be relatively close to it. So I feel like your statement is incorrect.
I'll happily be corrected if I overlooked or misunderstood something.