Except as provided in section 6 of title 7, if the Commodity Futures Trading Commission or the Securities and Exchange Commission determines that the regulation of swaps or security-based swaps markets in a foreign country undermines the stability of the United States financial system, either Commission, in consultation with the Secretary of the Treasury, may prohibit an entity domiciled in the foreign country from participating in the United States in any swap or security-based swap activities.