The Scottish Premier League has agreed to invite Dundee to fill the 'Club 12' spot in the top flight this season after newco Rangers were placed in Division Three.
Rangers discovered last week that they would have to rebuild from the bottom tier of the Scottish Football League following the liquidation of the old Ibrox club.
SPL clubs met on Monday to discuss their response to the decision, and have now agreed that Dundee should replace Gers.
Dundee finished second in the Scottish First Division last season and it was unclear whether they would get the nod or Dunfermline, who came bottom in the SPL.
There had been talk in recent days of a possible U-turn over the future of Rangers and even an SPL 2, but the SPL clubs say they are prepared to work towards the decision made by the Scottish Football League to put the Ibrox club into Division Three.
An SPL statement read: "It was agreed that the SPL would work with the Scottish FA, SFL and Rangers to facilitate Rangers FC taking their place in SFL Division 3 this season.
"It was agreed that Dundee FC would be invited to fill the space vacated by Rangers FC in the Clydesdale Bank Premier League."
Dundee will kick off their SPL campaign with an away game against Kilmarnock before welcoming St Mirren at Dens Park.
They also have a local derby against Dundee United to look forward to on 18th August at Tannadice.
The decision is sure to anger Dunfermline, after their manager Jim Jefferies declared that the SPL would be hypocrites if they were not invited.
"We were the 12th team in the league. If sporting integrity is why they put Rangers out of the league then sporting integrity has to be applied here," he said prior to the SPL's meeting on Monday.