Mary accepted the angel's proposal - Joseph agreed to honor the marriage after the fact.
To make Mary more virgin than Jesus Himself was perfect is one of the strange feminism of catholicism which traps it to this day.