I agree for A), by why D) ?
I suspect a misreading of D) as "The liar has at least one non-green hat" which, in fairness, feels weird that wasn't included in the list.
Also, I'm not sure that those two affirmations are equivalent:
~∀x (~IsAHatOfMine(x) ∨ Green(x)) ∃x ~(~IsAHatOfMine(x) ∨ Green(x))
I suspect a misreading of D) as "The liar has at least one non-green hat" which, in fairness, feels weird that wasn't included in the list.