A sci-fi paradox. We know that red shirts from the original star trek series must die if they are in combat or within 20 miles of anything even remotely dangerous. In Star Wars the stormtroopers never hit anything (ok they hit the walls/floors/etc.. but never what they are shooting at.)

So if an away team of redshirts were to get into a fight with some stormtroopers, the redshirts would have to die but the stormtroopers are incapable of killing anyone.