Gertrude and Mechtild operate as warnings to Ophelia,who stands to replicate their examples in her relationship with Hamlet
While Ophelia can draw parallels to both sisters, she is more strongly intertwined with Mechtild, as their forbidden relationships with the royals leads only to disaster. And like Mechtild, Ophelia is forced to fake her own death to escape Claudius.