My understanding was the directive was close to being accepted, and Sweden was saying, "there is problem with this, we won't pass it". So the derogation added at a late stage to keep Sweden happy.
It was originally thought that only Sweden would implement the derogation, but actually there are quite a few countries now who have.