The best I can say is that I saw drive-by-wire accelerator pedal assemblies that clearly would not
work. Pedal 'arm' angles (lateral) were off. Bolt patterns differed. The '11-'12 (and maybe other year) WRX match up exactly.
EDIT: Here's another one that looks
like it will match. It's advertised as a 2007 WRX STi assembly, and has a close-up of the Denso p/n:
P/N: 36010FE040, verified here