Now they still have the same amount of gold but they "realized" a gain of 11 billion. They don't have that much cash left after the repurchase but now they say they have X Euros worth of gold which is 11 billion more than before.
So no they didn't make a profit from this as gold is higher on both sides of the Atlantic than last time they did their accounting updates.
Why was it worth “X minus 11 billions”?