They have different BMW and ZF specification numbers.
Details see on my website below under

ZF Automatic Transmissions parts lists -ZF-Automatik-Stücklisten-

Also the parts list are there for the 5HP30.
I would call a company like European Transmissions to check out the details/differences.