Concur....Joseph and Mary knew they were sinners. No where in Scripture is an exception carved out for Mary. No where.
By the same logic, it’s a good thing Jesus was baptized for the forgiveness of his sins.
They were Jewish, they followed Jewish law.