My understanding is that as part of the Amtrak Improvement Act[1] Amtrak is given preference over freight rail, even on private track. However only the Department of Justice may enforce this, which it has done only once.
Fair warning I haven't read the text of the law in full, only heard this second hand.