Nothing in this Act shall in any way affect the validity of a marriage solemnized in a foreign country otherwise than under this Act.