The easy way to make YBCO involves multiple rounds of pulverizing yttrium oxide, barium chloride carbonate ... By boiling down an aqueous solution of the three components, a thick sludge results ...
Carbonate ions also produce a white precipitate with barium chloride solution. The acid reacts with any carbonate ions present. This removes them, so stopping them giving a false positive result.