When I executed the example the answer was BBUBUB.
The attribute replacement sequence may be like , new value is Bound and due to that the old value gets Unbound.
This is not an accurate answer to your question. Somebody with more knowledge can throw some light on this.
Edit : Abdul Rahman answered it better.

I didnt see his reply when I was replying.