> The ill that it's supposed to address is people hassling government officials who are just doing their jobs.
How? If they're doing their jobs, then they are in the right and would be defended by their agency. If they are doing something illegal, they'd be in trouble. But that's the point!
They might be defended by their agency (though being "in the right" doesn't appear to be a pre-requisite for that anyway). But they would/could still be subject to lawsuit after lawsuit, which hardly suits the intended goal of government, does it?