You're probably malnourished today, then.
Say for example your range is 1200-1550 and you splurged on 800 calories of junk.
So you ate around 700 calories of "food" today. You got 700 calories of nutrition.
That's not healthy.
If you 'splurge', then let your range be blown. A calorie is a calorie only for weight, for health it's best to ensure you get at least your minimum from real healthy food choices, with splurges and treats on top, even if it blows the range.
So with the example numbers above, I'd have another 500 calories of healthy food for the day to bring it up to 1200 from real foods, and let the day's total be 2000.
Deb, in New Zealand