My assumption is that this is allowed - unit is shooting into melee in which it is not involved.
If the shot scatters it will get resolved against closest disk which is either 'pinning' or 'pinned'. Now lets assume the scatter hits and kills the disk (in this case that would be your own unit!) - does anyone get VP for that disk?