You could simply cut the wire. Imagine though, you go to the airport to pick up family along with their suitcases. Because of the extra weight, you don't realise you haven't released the handbrake fully. Your rear brakes overheat and cause an airlock in the brake fluid. You arrive at an intersection with the lights on red. You find you have no brakes and sail through it....
Or you could just get out your multimeter and check the wiring diagrams here:
http://www.wedophones.com/BMWManualsLead.htm
It is a simple switch to ground and is probably worn or sticking :-)
BTW. Welcome!