You could always do it in post. I have done a few different hats on heads and what I do is to render 2 different scenes. One i make the hair invis and only the hat on head showing. In the other its the hat,hair and head. Here is a sample. Its not hair but its the same princible that i am talking about.