Joseph, the foster father of Jesus was declared to a righteous man even though he did not follow the letter of the law.

What are we to make of that?