Amtrak has legal priority. In practice this doesn’t mean much.
The legal means to enforce this was with the DOJ, which for Amtrak’s existence has had bigger fish to fry. Amtrak was granted the ability to sue freight carriers for enforcement in 2019, the first lawsuit is making its way through the legal process and Amtrak wants to establish it as case law for this legal priority.