I have two magnets, a weak one and a very strong one. The weak one is a cheap toy magnet, and the strong one is a ceramic magnet.
Normally, I would expect that if I orient the magnets so that the two south poles are facing each other, then they would repel each other. However, in this case, they repelled each other at first, but when I pushed them close enough together, they attracted and stuck together. The same happened with the two north poles. What would explain this behaviour?
(I used a compass to check that I had tried all possible orientations.)