Prime Minister David Cameron agrees with the principle of the Home Office text messages urging people to contact them about their immigration status.
A Downing Street spokesman said: "The point of the texting, which the Prime Minister does agree with, is to get in touch with people who may be here illegally and to say to them ... that they need to be considering going home voluntarily or being removed.
"The principle of the text message is correct. This is one of various means the Home Office uses to get in touch with people who are here illegally to bring about their removal from the UK.
"It's a tiny proportion of texts that may have gone to erroneous people and the wording of the text just says 'you may be here illegally'."
More top news
"If you're having sour grapes, I feel bad for you son, we've got 99 problems but the EU ain't one"
A six-year-old boy playing with a gun fatally shot his younger brother, 4, in the head, authorities said.
A band of rain will approach from the west today and threatens to be heavy at times.