I won't be able to speak to what is currently happening with respect to the discussions between Great Britain and Canada. However, under international military law, all military vessels and their contents belong to the country of origin.
On September 19th, 2017. See this statement in context.