PORTLAND — The Federal Trade Commission has cleared the way for Trader Joe’s to open a store in the former Wild Oats supermarket on Marginal Way.

As part of the purchase of Wild Oats by Whole Foods Markets, the FTC required that Whole Foods sell off the stores it was closing, preferably to a potential competitor. Trader Joe’s applied to purchase the former Wild Oats store in Portland and the FTC issued its final approval of that purchase today.

Trader Joe’s has applied for city licenses to operate a food service in the store and to sell beer and wine, but hasn’t yet commented formally on its plans. A call to the company’s headquarters in California has not yet been returned.

The FTC decision means the sale can now go through. Trader Joe’s will buy the store from the divestiture trustee appointed by the FTC, which will keep a percentage as a fee and then turn the rest of the money over to Whole Foods.