It takes away the double dip. So, technically, for an Observatory, Atomium, or Arc, not letting the owner double dip (collect, add FPs to level, and immediately collect again) 'takes' goods from the treasury.
You should never level any building without the owner's permission except for Zeus and the Temple or Relics. Those two buildings have nothing to collect.