Yes. The warden of this facility has immunity from prosecution on the grounds that this facility's mission is for the good of everyone in every dimension, and improves countless lives.
But once I was no longer the warden, I had to be judged for the crimes that I committed in pursuing that goal.