I thought it would be a trick question. If this person is a known liar, how do we even know he has any hats to begin with?
Person could really have a neon colored bowling ball and the statement “All my hats are green” is still valid.
I suppose the solution of A is valid assuming the physical object itself is not a lie.