Youve already made an error. 1) Being filled with grace, as Mary was, protected her from sin. That does not mean Mary could perfectly keep every law. 2) Not every law or stricture was moral. Some were merely about purity. Mary essentially violated those purity laws each and every month (as every woman did). That impurity was not believed to be a moral violation of the law.