I understand that those who conduct a civil marriage ceremony in the UK or on board a UK registered vessel, have to be "registered". Other countries require officials to be licensed. I suspect the JAL Captain was a witness and not an official. I'm sure, like Aviate1138, most of my colleagues are more expert on ending marriages than starting them!