Absorption of impurities during preparation or upgrading of a fuel