What are the ethical and administrative challenges in compensating victims of unjust imprisonment in India?

The Supreme Court has asked the government about a national compensation policy for unjust imprisonment. I want to understand what difficulties might arise in designing and implementing such a policy.