There is a robust protocol on that, which is followed by the shipowner and also supervised and managed by the class certification that actually certifies the class of the vessel. I believe there is an annual inspection regime. There's a quinquennial inspection regime. Any items that are broken, twisted or that require replacement are replaced according to that process, and records are all available on the boat. Transport Canada marine safety and security is the lead agency that is responsible to verify those things when the vessel arrives in the port.
On March 31st, 2022. See this statement in context.