Do you have any sources for this? This doesn't sound correct to me. A train is a queue, there is no priority in regards to crossings that I know of.
Edit: I stand corrected, Amtrak report does suggest that freight might have a priority. That report is honestly shocking.