Geoff, there are some possibilities:
BMW E34 Website
this refers to a left hand drive car, remember that when you read driver side and passenger side door, on Aussieland you have RHD.
unlocking deadlocked car via trunk light connection
The emergency unlock is known by lifting the passenger door handle and then turning the key over a certain resistance.
Even with a dead battery the trunk can be opened with the key by turning it anti-clockwise and then push the doorl unlock button.
To avoid wrong connection of power to the wires or to blow the fuse, Timm from the 7 series register in the U.K. has made a nice write-up:
A few pointers to connecting power to the boot/trunk lamp:
Firstly, the boot/trunk light is a good place to connect power as it is constantly connected to the battery via Fuse 33. However, you must only use a charger at this point, and only one that can supply a maximum of 10A. If you use a fully-charged battery you will blow Fuse 33.
The boot/trunk light has two wires going to it, RED/WHITE is the positive supply, connect the chargers +ve terminal to here. Connect the charger-ve lead to somewhere on the chassis.....this removes any possibility of reverse polarity.
When the charger is connected and charging, allow 10 minutes before trying the central locking, this is just enough time to get enough charge in the battery to supply the locks.
If you have not got a charger you can use a battery but MUST connect it via a 55W (headlamp) bulb. This reduces the current to a safe level.
DON'T connect to any other lighting point, these go via the LKM or General Module and it is not a good idea to stuff power up these!
Maybe these pics towards the bottom of this write-up might help
*DIY How do swap a door handle in a million easy steps. - Bimmerforums - The Ultimate BMW Forum
If the doors are deadlocked, you cannot even open the doors from inside by pulling the know.
You know it is deadlocked when the inside handle and lock pull do not work with ignition on.
the car is double locked or deadlocked as protection against thieves which might smash the window and then try to pull the door pin or the inner door handle, that will not work if the door is deadlocked. See owners manual about deadlocked or double locking.