If the NP her goals is a likely ARG1 of realized the parser should prefer the main clause structure.
if the NP is a likely ARG0 of an (as yet unseen) embedded verb, then the parser should go for the subordinate clause structure.