Try rearranging their home, this confuses them and stops them being territorial about the space because they don't recognise it as their own any more, so they think it's new, neutral territory. It's the desire to defend their space that makes them want to attack an intruder. This method worked...