I am assuming this shop is not a business operation. Based on that assumption I would advise looking to the square footage used for residential use vs non-residential use. If the square footage for residential use is greater than the non-residential use then you have a dwelling and IMO a purchase transaction. If the non-residential square footage is greater then you have a HI.
_________________________
The opinions expressed are mine and they are not to be taken as legal advice.