You mentioned 1996. That is when the Railway Act was split and was updated into the Railway Safety Act and the Canada Transportation Act. There was a clause, which was not carried over, that dealt with specific references to drainage issues across the provinces.
On December 5th, 2024. See this statement in context.