Nothing you've said invalidates comparative advantage. It is just accepting a cost (reduced economic output) in favor of some strategic advantage. It doesn't matter if its a good idea, or a moral idea, or a strategic idea, the cost is still a loss in economic output.