They have been watching too much terrible television, then, I suppose, or have had their heads filled with too many idiotically romantic notions. It is a trope in fiction that captains can marry off people at sea; however, he cannot do so unless he is also ordained, or a Justice of the Peace, and moreover cannot do so in most cases unless the ship is at port.
[text]