I think a derelict vessel becomes the property of whoever can bring it to port.
You float ‘er, you own ‘er.
You float ‘er, you own ‘er.
You own 'er, you pay the docking fees, registration fees, tax on the value of the craft, and whatever else the local gubmint thinks they can get away with.