public function getCountriesForLanguage($languageCode, $languageStatuses = 'orfm')
    {
        $territories = [];
        foreach (\Punic\Territory::getTerritoriesForLanguage($languageCode) as $territory) {
            $territoryLanguages = \Punic\Territory::getLanguages($territory, $languageStatuses, true);
            if (in_array($languageCode, $territoryLanguages)) {
                $territories[] = $territory;
            }
        }
        
        $validCountryCodes = array_keys($this->getCountries());
        $result = array_intersect($territories, $validCountryCodes);

        return array_values($result);
    }