The problem is its often not clear that the government is violating the constitution until after a court has ruled that they have violated it. People can have reasonable beliefs that what they are doing is constitutional and then a court rules differently and suddenly they have a civil liability or potential criminal liability.