I have had an intermittent fault on my tailgate on my 2006 Tourer for the last six months.
When it refuses to unlock I get the PTG code. The problem can be remedied by simply disconnecting the battery for 30 seconds. Then it works fine. Just have the added hassle of reprogramming the radio...