In 1989 , after three years of wrangling , the Supreme Court of India urged both sides to come to an agreement , and in an out-of-court settlement Union Carbide agreed to pay $ 470 million -- its original offer , plus interest .