Had a very similiar problem with the alarm on my golf (twice) what happend was the pipe to the rear wash/wipe split in the tailgate the water leaked onto the sensor that lets the car know the boot is lock.
So even though the boot was physically locked the car thought the boot was open and off went the alarm.
Maybe something similar?!?!?