Debate rages over a landmark ruling by the Indiana Supreme Court that some say violates your right to privacy.

The ruling essentially says you can't fight back when a police officer comes into your home illegally.

The Indiana Supreme Court ruled that Indiana residents cannot keep police from entering their homes even if the entry is unlawful. In a 3-2 decision, the justices ruled that valid reasons would allow officers to come in without a warrant and that it's against the law for homeowners to resist.

"That has never been the law in the state. Our courts have always held that if police are trying to enter your home illegally, you can resist that entry," attorney Jack Crawford said.

Justice Steven David wrote that " we believe a right to resist an unlawful police entry into a home is against public policy."

He also said "allowing resistance unnecessarily escalates the level of violence and therefore the risk of injuries to all parties."

"The court has now given police authority, even when they don't have a warrant and even when the search may be illegal, to enter an Indiana citizen's home without a warrant to search,” Crawford said.

Two justices dissented saying the ruling "sweeps with far too broad a brush by essentially telling Indiana citizens that government agents may now enter homes illegally, that is without the necessity of a warrant."

Defense attorneys said they also fear it will keep homeowners from protecting themselves against police impersonators.

"If you have no right to resist or protect yourself or defend yourself against this illegal entry, you're really at the mercy of those masquerading as police officers,” Crawford said.

The court has also reportedly gotten threats over the ruling. Many opponents expect legislators will draft a new proposal to fight it.