A planning inspector will decide whether a Wiltshire pub can keep its pergola, after Wiltshire Council refused planning permission.