Could Catalonia force foreigners to learn Catalan?

Following several concessions from the Spanish government, Catalan separatists now want to create their own immigration agency with the power to set quotas and make it compulsory for foreign residents to have Catalan language lessons.

Could Catalonia force foreigners to learn Catalan?
Following several concessions from the Spanish government, Catalan separatists now want to create their own immigration agency with the power to set quotas and make it compulsory for foreign residents to have Catalan language lessons.