Well, seems to me that when people become engaged the intent is to be married.
So Joseph and Mary were engaged, and then got married.
And the problem with that is.....????
Maybe that's not true with Catholics...LOL...
Could be that's where they got the idea of nuns...