only options are:
1/force bonnet open to get to battery and jump start/replace
2/Obtain angle grinder and cut a plate out of the bonnet just big enough to reach battery terminals, then add jump leads to put power to locking/deadlock system, then replace the plate you cut out by putting it back in the hole and using bodyfiller to resecure it and then if fussy get an aerosol can of paint the right colour to touch up
3/ smash window , climb inside car (IF DOOR WONT OPEN THEN DEADLOCKS ARE ON STILL) If this is the case then get a neighbour to tow the car at exactly 45mph and then while in motion put the gearselector in reverse if auto, 5th gear if manual and enough generation will be produced to automatically unlock the deadlocks
roebuck nissan , slough SL1 4HZ, November 2008