Just not true. Imagine eating 50g of sugar during a run vs 50g of sugar while sitting in the couch for a sedentary person. Your body's hormones also determine fat gain/loss beyond just calories in/out. And fats and proteins, calorie for calorie, produce less fat storage signals.
It's pretty well established that calories alone, not macronutrient composition, are what is responsible for weight loss: https://examine.com/nutrition/what-should-you-eat-for-weight.... There are plenty of studies comparing low-carb diets to not and no difference in weight loss was found when controlling for calories.
Every diet that doesn't involve directly counting calories tricks you into restricting them in some way, putting you in a caloric deficit. Period. This is how every diet works.