It may sound like a daft question ,but does your rear washer work OK .
Because if the washer hose union that pushes on to the wiper spindle comes adrift ( as well as other places

) and therefore washer fluid can leak on to the micro switch in the tailgate latch mechanism which can end up corroding the switch and the terminals in the plug that in turn can cause false alarms .

, (I have come across this problem countless times on mk4s) .
P.S. When I questioned it with VW technical some years ago they said it was due to people using non-genuine screen wash that would clog up the washer jets where as if they use genuine VW screen wash the problem would not occur ,but I can't say that I totally convinced by this argument