Once the court has ruled, if those officials continue to engage in that activity, they can be held in contempt and imprisoned indefinitely until they stop engaging in that activity. The system achieves the goal of stopping the activity in question. What it doesn't do is create a deterrent for others who will engage in the same or similar activity in the future.