You didn’t “lack immigration status”. You were an illegal invader of a sovereign country. Under the laws and customs of war, that makes you an illegal combatant not subject to protection under the law or the laws and customs of war. Quite frankly, you should fall on your knees and thank god that you weren’t taken out into the street and shot.
Now get out and stay out.