Cape Town commuter services restored
https://www.railwaygazette.com/passenger/cape-town-commuter-services-restored/62230.article
Unless strict punishment, it will be impossible to reduce the number of people who want to stay along railway tracks.
In Japan, more than 20 years ago, railway fans crossing tracks or trying to take pictures from dangerous sites along tracks were cracked down strictly. Now, it is treated as strange behavior to trespass railway tracks in Japan.
So, nations bothered with illegal settlers should learn it.