To the downvoters: this comment is correct. E.g. [1] for an example of this being enforced.
Apparently the problem is the law is not enforced that much? And that there are loopholes around it.
[1] https://www.justice.gov/opa/pr/norfolk-southern-agrees-give-...