You know I don't think Lucy's being possessed through Magic. Because she is so close to the Eclipse gate, any magic being done in the area would be absorbed into the gate. So if she is possessed at all and not unlocking some kind of failsafe programmed into her from before, then it's no ordinary magic possession