You think you're permitted to do that? That's defense of property.
You really ought to try not to spin and tangentalize a discussion. If you paid attention in law school you will remember that set traps are taboo because they do not discriminate between lawful and unlawful entry.
A business owner who stays after hours in his own business, armed for protection is not a "trap" in the sense of a spring gun. And a shop owner who winds up shooting a burglar, who refuses to submit to the shop owners attempts to arrest and threatens the shop owner, is not committing a crime.
Again, deadly force in defence of property was not prohibited prior to leftist-leaning lawyers and judges perverting our system of laws in an attempt to Socialize this country.
Hopefully you are not one of those types of attorneys.
BTW - Your skills would not be needed if prosecutors exercised appropriate judgement. Jesamy went after these two because of her anti-firearm and racial political ideologies.