Yes… but these Portugese bricks have to be somehow better, in some aspect, than French bricks, for them to be traded in the first place.
Be that quality, quantity, availability, pricing, etc…
Eventually Portugal will exhaust all it’s bricks, and future brick opportunities, that are better in some aspect, relative to French bricks and French future brick opportunities.
And when that happens with every possible thing and opportunity in Portugal, relative to French things and opportunities, then the trade deficit naturally disappears.