A court must determine the validity of a marriage that took place outside of Canada.