The Indiana House passed a bill allowing residents to use force against officers who illegally enter their homes over the objections of a retired captain who said it could bring deadly consequences for officers.

Rep. Linda Lawson, a Democrat and retired captain of the Hammond Police Department, begged her colleagues not to pass the bill, fearing it would create "open season on law enforcement," reports the Indianapolis Star.

Senate Bill 1 is aimed at overturning a controversial Indiana Supreme Court decision from May. That 3-2 decision said people have no right to resist if police officers illegally enter their homes.

The bill has not yet become law. It would still need approval by the full Legislature and signature from Gov. Mitch Daniels.