Unwelcome tenant spurs homeowner to legal action

Does freeloading 'friend' have right to live in home?