Court of Appeal casts doubt over the effectiveness of anti-discharge provisions