Section 43. Marriages solemnized in a foreign country by a consul or diplomatic agent of the United States shall be valid in this commonwealth.