I have discovered a special code brick for the 2001 Intelli-Train which can't be made using normal sized code bricks. It ensures the train drives the track in the correct direction.
The awesome website that led to all of this: web.archive.org/web/20111107082658/http://cavefish.net/intelli-train/index.html
Discord: https://discord.gg/CVZdcGKVSw