That’s exactly what happened.

They lost weight eating tons of carbs, most of which lacked nutrients.

Do you need nutrients in addition to the carbs? Of course. But they all break down into glucose and increase the metabolic rate.