I can speak about the LINC programming. If a person is illegal, they wouldn't qualify for the programming. They would be handled by the provincial funding, which is held by another department.
Our department oversees the federally funded language instruction for newcomers to Canada.