You mean that the lawmakers themselves are carpet baggers?
Of course, what I'm about to ponder doesn't in any way lessen the South's guilt for perpetrating the enslavement of countless blacks. And, of course outright slavery is an undeniably greater crime than Jim Crow laws.
That being made clear, it wasn't like Southern reconstruction was a purely locally-lead affair. Northerners (and carpetbaggers in particular) played ample part, a large part of which was inflaming the long-smoldering coals of mutual racial antipathy through a surreal and absurd combination of policies which can, in retrospect, only be viewed as intended to have precisely this effect. In the process they decimated the South's economy, leaving it easy pickings for wealthy carpetbagging war profiteers. Of course, this also had the incidental (but wholly predictable) effect of impoverishing nearly all blacks -- and most un-propertied whites -- which created an equally-incidental-but-wholly-predictable surge in lawlessness, which is what ultimately inspired the elites to legislatively disarm their political "inferiors".
Indeed, in antebellum years the North was described by more than one contemporary as sometimes (rather incongruously) displaying more prevalent and virulent racism than the South, despite the latter's greater (and indefensible) preference for slavery. But then, the South of the reconstruction becomes notoriously hostile to the newly freed blacks, with institutional and cultural racism towards blacks being the absolute norm.
To me, there sure seems to be plenty of blame to spread around. So I'm not at all sure that the difference between "carpetbagger" and "Jim Crow legislator" is especially significant; it seems that "elites" of every ilk have been all too frequently happy to use government to benefit themselves at the expense of the (explicitly or effectively) disenfranchised.
And that's what these laws do, of course. Political and social elites don't need explicit firearm and self-defense rights to provide for their security, because they can use some combination of political and economic influence to buy themselves everything from criminal immunity to round-the-clock bodyguards. It's the rest of us -- the middle and lower classes -- who get the shaft, so to speak.