Now there are really two different issues here.
A) It is good for the company to do such a thing, and would I offer them my business if they did so- no.
B) Do I think it should be within their legal rights to do so- yes. It’s their business, their property and hence I believe it should be their decision.
Don’t confuse my personal philosophy of right and wrong with what I think the government should be playing with.
If the rail line declares themselves to be a ‘private rail line’ then how are they any different from the Boy Scouts? The Boy Scouts will take anyone who wants to join (within reason). A business is no more or less of a private association.
Or should I ask, so you assume companies don’t have rights? Does the freedom of association dissolve in the case of a corporation?
OK, since we’re in the realm of companies offering services to the public and what they are allowed to do. Say I’m Catholic and I own an event hall. Do I have to host a gay wedding reception against my will?
So in your world it would be OK for a train company to force a black man to ride in the baggage car.
A train company is organized to provide a service for a fee and make a profit; not to promote an ideology or to form an ideologically aligned association of people.
Offering one form of service to people and an inferior service to other people (paying full fair and then having to ride in the baggage car), or denying them service, is not currently legal in these United States.
You seem to think this type of thing should be legal.
I disagree.