One marriage – two ceremonies?

Sometimes a couple go through two marriage ceremonies, for example the first on a beach somewhere exotic and the second back in England.  It can become important to know which of the two ceremonies actually created the marriage, and in the event of a divorce it may even become necessary to ask the court to decide which.