A Vancouver businessman who makes a living shopping at Trader Joe's in the U.S. and reselling the goods in Vancouver at his Pirate Joe's store has won a legal fight with the retail giant.

Trader Joe's had taken Pirate Joe's and its owner, Michael Hallatt, to court, alleging trademark infringement and false advertising, and arguing the Vancouver retailer was hurting its brand.

But Judge Marsha Pechman dismissed the case, ruling there was no basis to apply a U.S. law known as the Lanham Act, which confers upon U.S. courts broad jurisdictional powers.

She said all the alleged infringements take place in Canada, and Trader Joe's cannot show economic harm.

Hallatt told CBC News on Friday morning that he felt vindicated by the ruling.

"The Lanham Act, which is this very broad powerful statute that allows corporations to, kind of, you know, beat up on anybody that affects U.S. commerce is very, very strong and powerful and can essentially shut down commerce in another country," said Hallatt.

'It really had to be black and white that we were not affecting U.S. commerce at all. - Pirate Joe's retailer Michael Hallat

"And so for us to have it dismissed, it really had to be black and white that we were not affecting U.S. commerce at all."

The company had argued that 40 per cent of the customers who pay by credit card at its Bellingham location are non-U.S. residents.

The theory is the vast majority are Canadian, and if they have access to exclusive Trader Joe products in Vancouver, many will stay in Canada.

But the judge dismissed the lawsuit, ruling Trader Joe's failed to prove it competes for customers with Pirate Joe's. Trader Joe's has 10 days to file an appeal.

Trader Joe's has 390 stores in 30 U.S. states, but no presence in Canada.

Michael Hallatt crosses the border, buys thousands of dollars worth of products, and then marks them up for resale at his Kitsilano, B.C., store.

Hallatt said he has been spending around $4,000 to $5,000 a week at Trader Joe's in Bellingham, Wash.