Saying you're fat because you eat too much is like saying you're an alcoholic because you drink too much. It's true but it doesn't say anything about how to solve the problem and it mixes up cause and effect - in the former case you're eating more because you're getting fat (due to insulin resistance, caused by chronically high consumption of carbohydrates according to some or due to chronically high consumption of fructose according to others) and in the latter case you're drinking more because you're dependent upon alcohol.
I think you're really close to getting at the root of this problem right here. Fundamentally, we're talking about a behavioral compulsion here - people are literally getting addicted to food. Fructose is the substance that's hijacking the brain's reward system. A particular individual's susceptibility to obesity is very likely set up by the same factors that function in other addictions, whether chemical (as in alcoholism) or behavioral (as in gambling) - namely, dysfunctional family systems, psychological trauma, stress, etc. If this is, in fact, what's really going on then the solution is to (A) treat obesity as an addiction and (B) limit the proliferation of fructose in the food supply.
calories in - calories out = fat stored/burned.
So for calories in == calories out, stable weight. For calories in > calories out, weight gain. For calories in < calories out, weight loss.
The mistake that most people make is that they assume that the left side is independent of the right side. We can rewrite the equation as:
//Assume that a negative fat stored is fat burned calories in - fat stored - calories out = 0 OR calories in - fat stored = calories out
Now in your original equation, assume that the person needs 1000 calories for their body to function normally. Also assume that the person eats 1000 calories a day. In your equation, since you assume that fat storage is a function of imbalance between needs and consumption, you get 0 fat storage.
However, in reality because of an insulin imbalance, what happens is this: 1000 calories are consumed. 200 calories are stored as fat.
This only leaves 800 calories to be used by the body. But wait, the body requires 1000 calories to function normally! Well there's two ways to compensate for that, either the person will consumed an additional 200 calories to get the body functioning normally, or the body will adjust it's needs, reduce the energy and movement of the individual, sleep more, etc.
(Weight gain/loss is ultimately a simple equation: calories in ‒ calories out. Eat more but exercise more and they'll cancel out.)