Quoted:
Could you not just remove the extension and swap it out?
No, you can not.
I'm not saying it is difficult.
You can not do it.
Also, never, ever, not ever, buy a barrel that lacks the barrel extension. I know you can buy the tool to put one on, but you'll never happen to find one that will "time" correctly. That is, you can't get it to torque up to spec, and have it line up right AND have the correct headspace all at the same time. Not even if you have a thousand extensions to go through.
So how is it done by the manufacturer? The extension is put on first. Then the hole drilled and index pin installed. THEN the gas port is drilled, front sight base mounted.
So, no, you cannot swap out barrel extensions.
Those cheap gunshow barrels that look new but lack extensions? Those are called prybars. But they are totally useless as barrels.
Years ago I asked in this forum, has anyone ever successfully changed one out, and gotten proper headspace AND alignment? No one ever answered in the afirmative.