You are applying standards not found everywhere. Some of the state laws don’t care who opened the door, nor even if the intruder is there lawfully.
your response makes no sense. An intruder by definition is someone there unlawfully or illegally. How can you have a lawful intruder?