The present invention relates to the use of a DNA encoding a herbicide metabolizing protein for producing a protein having the ability to convert a compound of formula (II):to a compound of formula (III):wherein said DNA encodes a protein selected from the group consisting of: (1) a protein comprising the amino acid sequence shown in SEQ ID NO: 222 (2) a protein having an ability to convert in the presence of an electron transport system containing an electron donor, a compound of formula (II) to a compound of formula (III), and comprising an amino acid sequence having at least 90% sequence identity with the amino acid sequence shown in SEQ ID NO: 222 and (3) a protein having the ability to convert in the presence of an electron transport system containing an electron donor, a compound of formula (II) to a compound of formula (III), and comprising an amino acid sequence encoded by a nucleotide sequence having at least 90% sequence identity with a nucleotide sequence encoding the amino acid sequence shown in SEQ ID NO: 222.