In my opinion the “Mary Sue” stuff is absolute bullshit that has now seeped into the movies itself. The urge to pacify crying fans is the reason we’re now left with the fan wanking trash that is Rey Palpatine.
Though I suppose the only casualty is the integrity of Rey’s character, and who cares about that when you finally have an explanation for how “OP” she is! The saga is saved!