Slovenian food retailer Mercator has confirmed it has cleared the last hurdle for its takeover by Croatian rival Agrokor after agreeing a financial restructuring deal to manage its EU1bn (US$1.38bn) debt.