Let's say France heavily subsidizes her grape producers. She uses tax money so they can afford to sell all the way down at half price. If you let her export to England, it will wipe out all English grape production.
Step 1: tariffs to put French grapes at exactly English prices at the English docks, effectively anti-subsidizing them. Throw all this money into the treasury. "Thanks for giving us your tax money, France. We appreciate it!"
Step 2: release the tariffs entirely. When your own domestic vineyards threaten to go out of business, use the tariff money to buy them out so they personally suffer ~0 losses. Functionally, forcing France to buy all your vineyards out with her own tax money. "You can put them out of business if you like, but only if you pay for it."
Step 3: France is paying for England to eat grapes. Thanks France! What a nice country. So generous. The more French grapes they sell in England, the more French tax dollars effectively end up in England.
Maybe you keep a small tariff so as to pay for the mothballed vineyards? Grapes aren't a terribly critical good, so maybe the government just re-sells the land and lets the chips fall where they may; the land was paid for by France, so anything you can get for it is pure profit. With something more important, like meat or steel, you would want to preserve them against the inevitable time when the "protectionist" economy falls to its own inept policies. Mothballing isn't free, so a small tariff could be used to cover that - again, making France pay for it. "Steel supply shock, huh? Oh yeah we have those strategic steel mill reserves."