For the record, I just tested this, and the answer is: nope, no expansion. I get, for example
X-Tags: %{optional_tags}