Shooting a Squatter in a state with Castle Doctrine

Here’s a blast from the past:

https://boards.straightdope.com/t/ok-if-i-shouldnt-shoot-the-intruder-then/482060