Transparency and hdr enabled

I have two different results with hdr:

With hdr enabled in render path:

With hdr disabled in render path

Is there a sane explanation behind this, or is it a bug?