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?
Make the losing side pay attorney fees. (This is a general fix for a lot of issues in the legal system.)
Make the losing side pay attorney fees. (This is a general fix for a lot of issues in the legal system.)