The difference between the SPFL - which is the league containing the Premiership, Championship, League One and League Two - and the Premiership, which is the top division.
So Dundee are still playing in the SPFL.
The confusion is because the old top division used to be the SPL which was separate from the lower leagues.