The address kāf of «ذلك» is always a genitive possessor.
Demonstratives — forms, syntax and usage