The \9
trick is a hack. It uses deliberately invalid CSS syntax because certain IE versions have bugs that cause them to interpret it as valid when it isn't.
The fact is, it's invalid: if you've got a tool warning you about invalid code, then it's going to warn you about this.
If you want to get rid of the warnings, you're going to have to get rid of the hack and use a different method for targetting specific IE versions if you really need to do that.