It was by the merits of her Son's Passion, Death, and Resurrection that she was preserved without sin. God applied them to her without any problem, since He is eternal, and omnipotent.
Could He then have also applied them to everyone else and spared his Son the Cross?