International adjudicatory functions: a comparative study through the lens of environmental cases