If the 20K vessel, complete with water, gains another vessel, and the water contained remains aboard, then the weight of the added vessel is gained. If the contained water has a connection to the outside world, the added vessel will displace its weight in water to the outside world, and its total displacement will be unchanged.
Assuming that the 20K vessel is a HUGE hollow box that is capable of holding, say, 200K of water without sinking, then adding a 150K vessel to the inside (assuming 150K is its total displacement) and allowing the excess water to escape will leave the total displacement unaffected.
The Stirling lift wheel works on this principle, it has two open chambers filled with water. A barge from the high canal floats into the top one, displacing its own weight in water back into the canal. The gate is sealed, the wheel turns and chamber, water and boat are lowered. at the same time the lower chamber, with the identical weight, is raised. Whatever the weight of cargo, the two chambers are always the same weight. The only way a chamber could be made heavier than its mate would be to drive an object into it that was heavier than the water it displaced, and that would not, by definition, be a boat.
Having seen the film, I wonder at a submarine probably capable of 25kt on the surface and with the ability to dive getting caught by a 20kt (being generous) bulk tanker almost incapable of maneuvering. How the bow doors remained attached is a mystery as well. I did like the fittings in the escape pod, though.