There are E34s with batteries under the front seat? Must be either be one of those flat, "pancake style" batteries, or the special-order "bus seat" option with a glass bubble in the roof for your head...
If your battery is in the engine compartment, and it's on the factory tray with the factory mounting hardware and wiring, then that's where it belongs.