I suspect your "magnetic" balun is likely rated for a 9:1 impedance transformation, correct? Given a longwire antenna can present a wide variance of impedance, including impedance ratings from hundreds to likely well into the thousands of ohms, the 9:1 transformer is improving the match to your comparatively low-impedance coaxial feedline and receiver at many frequencies. The other typical benefit is increased common mode isolation between the antenna and feedline.
The end result? Probably better signal transfer and hopefully less noise between your high-impedance longwire antenna and low-impedance receiver.
As for an "useless" situation, there can be scenarios where a 9:1 balun could be undesired or even detrimental, such as using one at the feed point of an already rather low-impedance antenna where a 1:1 current balun (or even direct feed) might be preferred.
Also in regards to an "useless" situation, the actual signal-to-noise might change very little with a balun if for example common mode noise is not an issue, even if the the signal is measured "stronger" at the receiver with the balun installed. S/N is a ratio, and assuming enough S already is available for reception, further increasing S can mean little if N is being increased by the same number as well - the ratio remains the same, so the result is little more than a change in the receiver volume setting for the listener.
On a personal note, awhile back I removed the 1:1 current balun at the feed point of my ground-level 148' coaxial "shielded" loop with no casually discernible S/N change. The antenna being a loop is already is decently balanced, and I have muliple snap-on ferrites along the coax feedline for some common mode isolation, plus a 1:1 common-code choke inside near the attached receiver. If it was being used as a monoband antenna, I might work out the model for a balun to better match the antenna to the feedline, but the impedance readings are "all over the place" anyway as I routinely use the antenna for general reception of longwave, mediumwave, and HF through ~15MHz.