In the same sense Mary and Joseph who were already 'espoused' according to luke 1:27 which is why he wanted to "divorce her quietly" -- there would be no need to do that if he was not already married to her.
Okay, I'll agree that Jesus followed the Law. In His role as the true Passover Lamb, He had to be without flaw with respect to God's Law. Where does Scripture say or imply that Jesus was obligated to follow cultural rules? Man-made cultural rules and God's Law are not always the same thing as Jesus Himself pointed out in Matthew 15 where He condemned those who declared property as a gift to God (a cultural practice) in order to avoid their obligation to honor their parents (God's Commandment).