What will happen if a language that has been applied to one or more countries is subsequently disabled?

If a language is disabled, presumably it shouldn't be available. Currently country_code_languages() can test for disabled countries but not for disabled languages. Maybe we need another join to test for disabled languages.