We hold that [plaintiff] adequately alleged [the deputy D.A.] was liable for false imprisonment; we will also hold that statutory prosecutorial immunity [Government Code section 821.6] did not apply to the false imprisonment claim. However, the demurrer had to be sustained based on common-law prosecutorial immunity.