Twelve-year anomaly in Guernsey law overturned