TECHNOLOGY FOCUS - INORGANIC CHEMISTRY - Preferred Components: The adsorbent (0.1-10 wt.%) is added to the crude oil. The surface area according to Brunauer Emmett Teller of the adsorbent is at least 120 m2/g. The total pore volume according to Barret-Joyner-Halenda of the adsorbent is at least 0.2 ml/g. The silicon-content (calculated as silicon dioxide (SiO2)) of the adsorbent is at least 45 wt.%. The adsorbent is: clays, organic oxides and/or synthetic inorganic oxides; or pyrophyllites, sepiolites, attapulgites, smectites, vermiculites, silicon-oxides, aluminum-oxides, magnesium-oxides, zinc-oxides, titanium-oxides and/or aluminosilicates.    TECHNOLOGY FOCUS - ORGANIC CHEMISTRY - Preferred Method: The method further comprises: (d) subjecting the oil obtained from step (c) to a biodiesel production process; and (e) obtaining biodiesel compliant with the European legislation 14214 regarding the contents of phosphor and steryl glycosides from step (d). The step of contacting the crude oil and the adsorbent is carried out at 10-100 degrees C. The crude oil is subjected to a pre-degumming process before contacting the crude oil with the adsorbent. In the method, at least 60% of the pores of the adsorbent have a pore diameter of at least 140 Angstrom . EXAMPLE - Crude soybean oil (170 parts per million (ppm)), acylated steryl glycosides (152 ppm) and non acylated steryl glycosides (24 ppm) were pre-degummed with water (5 wt.%) by stirring at 40 degrees C for 1 hour. Phase separation was performed by 15 minutes centrifugation at 4000 revolutions per minute to obtain oil phase. The oil phase was completely recovered. Samples (comprising biodiesel or vegetable oil (2 g), and pyridine (15 drops)) (2 g) of the residual oil phase and the adsorbent (1 wt.%) were added to the sample, followed by 1 hour stirring at 40 degrees C. Then, water (2 wt.%) was added to the mixture and stirred for another 30 minutes at 40 degrees C and worked up to give biodiesel and biodiesel precursor.