Adsorption of impurities during preparation or upgrading of a fuel