You are not considered to have entered into the UK illegally if you entered the UK from Ireland according to this document from the UKBA https://www.whatdotheyknow.com/request/non_eu_family_member_entry#incoming-199571 https://www.whatdotheyknow.com/request/79871/response/199571/attach/html/3/Carthy...