A perennially burning area of land in east London has been officially declared contaminated following a judicial review.