Thus she agrees to marry him, and even admits that she still loves him despite his true identity.
She chooses to marry him, acknowledging that she still loves him even though he is not who she initially thought he was.