I was list building and I came up with this timing interaction tidbit.

Corran takes his end phase attack and scores a direct hit on an x-wing with 1 damage to hull and an R5.

Can R5 flip the Direct hit over to save the X-wing or does immediately destroyed apply?
The only thing I have to support any argument is that R5 can overrule the general "immediately destroyed" rule as R5 is an upgrade card, but that seems a little week for an argument.