Well, section 7, I think it is, of the Canada Shipping Act clearly says that it doesn't apply to warships. Any regulation that was made under the Canada Shipping Act would apply only to merchant ships or commercial vessels. I should say that the definition of “state” vessel covers not only warships but also would cover the Canadian Coast Guard.
On March 19th, 2018. See this statement in context.