Thank you for that very complete answer.
In my area, there is a railway project between Sherbrooke and Montreal. That regional railway needs an upgrade in order to have passenger trains, as safety measures are different for passenger trains.
Could the regional railway funding program you talked about apply in that case? Would it make it possible to make upgrades, so that trains could go faster, and thereby increase safety on regional railways?