Discrimination being tied to unjust, prejudiced, unfair, etc. treatment is part of all the dictionary definitions I found:
https://www.merriam-webster.com/dictionary/discrimination
https://www.britannica.com/dictionary/discrimination
https://dictionary.cambridge.org/us/dictionary/english/discrimination
https://www.oxfordreference.com/display/10.1093/oi/authority.20110803095721450
that’s not a problem with trains it’s a problem with unsustainable land use