The present invention relates to production of renewable fuels and fuel components from plant oil originating from at least one Brassica species, where said Brassica species, doped with at least one nitrogen-fixing bacteria is cultivated, in a rotating manner by alternating with at least one nitrogen-fixing plant species, plant oil is obtained from the Brassica species, and converted to renewable fuel or renewable fuel components. The invention also relates to a method for reducing nitrate release in renewable fuel production. Further, the invention relates to a method for reducing greenhouse gases in renewable fuel production.