In all my days I've had an issue with this exactly once. I have a 4x thickness neodynium magnet that managed to completely reverse the phase of an A3 magnet from about an inch away in a couple of seconds.
For comparison, that neodynium bar magnet is about 50 times stronger than a ceramic or 200 times stronger than an A5