Yeah - until you blind or deafen the intruder and he sues you in civil court for millions. Not even sure a marker would be covered under "stand your ground" laws.
The type of weapon used is relatively unimportant. If you are justified in using a firearm and deadly force, you are justified in using less levels of force.