Someone breaks into your house with a gun. What are you not legally allowed to do to them?
Why isn't it legal to borrow someone else's house without them knowing and sell it, if you pay them back a house later?