Just to point out that if a law is unjust, the prosecutor may have a duty qua prosecutor but qua human being he has a stronger duty to stand against that law.
Yes, it may be dangerous but the slippery slope is exactly that: 'as it is my legal duty, I shall try to make as much harm as possible'.
Conscience does exist...