If you have no "legal" way to resist on the front end, then "illegal" is the only alternative.
I'm glad my home state, Missouri, has "Castle Doctrine" laws on the books; illegal entry is illegal entry no matter who is involved.
Indiana also has the Castle Doctrine. What you have here is an event that didn’t happen.