an elite military organization , the league had charters from all the major governments granting it the right to act as judge , jury and executioner against anyone it deemed a threat to intergalactic peace .