All marriages celebrated beyond the limits of this state, which are valid according to the laws of the country wherein they were celebrated or contracted, shall be likewise valid in this state, and shall have the same force as if they had been celebrated in accordance with the laws in force in this state.