The easy way to make YBCO involves multiple rounds of pulverizing yttrium oxide, barium chloride carbonate, and copper oxide together and heating them in a furnace. That works, sort of ...
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.