The coastal line and the Wairarapa line both enter Palmerston North from the south.
Several stations (Christchurch for example) were built in "Y" formation, (Lytellton Port at the base, North and South as the arms) so the brake levers pointed north north of Christchurch and south south of Chch. The only exception was one coalmine branch on the West Coast with a Fell incline where the coal hopper wagons all had their brake levers on the downhill end and so were at odds with the rest of the system.
When the Cook Strait ferries were introduced (1960s)the two islands effectively became connected for through running and all the coupler hooks in the South Island had to be moved to the other end. In the early 90s the Christchurch "Y" had the third track added so trains could run Dunedin-Picton without entering Christchurch yards. That requires a corresponding move around the Y if the return train goes Picton-Chch. The NI remains single directional.
Greg.P.