For what it's worth, I've just got my first aid at work certificate (the 3-dayer) and the tutors made it clear that if someone has been prescribed an epi-pen then injecting them with it won't do them any harm.
However... this wasn't in the context of a heart attack and I'm not claiming any sort...