Colombia's constitutional court has banned mining in the country's moorlands, also known as "paramos".