Three magnetic cargo pods, A, B, and C, are coupled together on a toy track.
The pods use permanent magnets at each end to connect them together. The poles are arranged so that opposite poles touch between adjacent pods, as shown in the diagram.

Pod B is removed, rotated through 180∘ 180^\circ\,180∘ horizontally, and then inserted back into the middle position between Pod A and Pod C.
How does rotating Pod B affect the magnetic forces between the pods?
Pod B now repels both Pod A and Pod C
Pod B still attracts Pod A but now repels Pod C
Pod B still attracts Pod C but now repels Pod A
Pod B still attracts both Pod A and Pod C