What an ITIN is, in this context
An Individual Taxpayer Identification Number is issued for federal tax filing by people who aren’t eligible for a Social Security number. For a mortgage file, that is the entire relevance: it is how you file and pay taxes.
This article stays on that ground. Questions about legal status belong with an immigration attorney, not a lender, and a lender has no business speculating about them.