They could be prosecuted, but prosecutors generally don’t like to bring losing cases. And the actions being official acts was already a defense. The distinction was that you could still get prosecuted, but you just had to show a non corrupt intent in doing the action and get the case easily dismissed. Now you don’t even need to show that you had non corrupt intent - just claim official acts and no lawsuit is possible in the first place.