The Premiere League and the EFL are 2 separate organizations.
If you spent 50m, ie over spend creating a loss in your current financial year(combined with the 2 previous financial years) and go above 43m total loss combined then you have broken the rules and get points deductions.
The fact that you then get promoted and get 150m in a separate organization and league doesnt fly anymore as leicester will find out shortly.
They did what you describe. Thought they could avoid a penalty by going up and then coming down with money in the bank. But the Prem Lge and EFL got together over the last year and changed the rules so now Leicester will get points deduction regardless of if they made a 100m profit this year from the Premiere