The validity in UK law of a marriage or civil partnership contracted in a foreign country is in no way affected by its having been, or not having been, recorded in the UK.
Source