Is is very accurate in terms of needs and social housing needs.
"I have been led to understand that LEGAL immigrants if they commit and are convicted of CERTAIN offences can be repatriated."
You forget to mention you have been led to understand this by the Daily Mail.
If you are legally accepted in this and most western countries as a legal immigrant you have to serve 4 years before becoming a citizen. In these 4 years you are assumed to behave properly so not to jeopardize your claim to citizenship. Citizenship can be refused if a legal immigrant get a criminal sentence, but it does not imply you will be repatriated. It means you have to reapply in a year or two without any further blemish on your record. If you do not wish to become a citizen and still reside in this country after 4 years, you will not be repatriated for a crime unless the nature of the crime demands it (I.E. spying for a foreign power, terrorism, etc)
But that is the same if you are a UK citizen living abroad.
What I am trying to get to you is that there is no great deal of difference between immigrants in this country and British immigrants into foreign countries, the treatments is less or more the same.
But you seem to be trying to make it appear that legal immigrants in this country would (and should) be deported if they shoplift in M&S.
I am afraid that's not the case at all.