That is an inspection the federal government has jurisdiction over under the TDG regulations. There is also a committee that's administered by the Canadian Standards Association.
Specifically with respect to tank cars, it's the B620 committee which comprises manufacturers, regulators, carriers, and safety advocates. They basically develop the standards that Transport Canada then puts into regulation.