DAT should provide some expert comments, but it is my understanding that prosecutors cannot be held criminally liable for intentionally framing someone, however, they can be sued for prosecutorial misconduct (and lose their license to practice) , and their employers (the state) can be held liable for improperly convicting someone, particularly if "intent" can pe proven, I would think.......but I'm not a lawyer......
I think that immunity for prosecutors is a good idea, as mistakes do happen, and someone can be framed without the knowledge and participation of the prosecutor, however, if the prosecutor enters into a conspiracy to wrongly convict someone, with "intent", all bets should be off, perhaps this is the basis for the case before SCOTUS.......
doc