BTW: Joseph and Mary were not Catholics. Therefore, they were not bound by Canon Law. Which, as it happens, did not yet exist.
Your mind, poisoned by anti-Catholic fury, is disorganized.
You illustrate my point perfectly of man-made rules.