Any meaningful answer to this question will require knowing where you live, for the powers of governments, the legal systems, your rights as a citizen and your possibilities of claiming those rights against the government all vary wildly all over the world.
Eh, please tell me how you'd implement a heuristic that doesn't work either through magic or an algorithm.