We thought Portugal's new housing laws protected our condo from short-term rentals. We were wrong. We understood the rules but missed the math. A legal loophole allowed wealthy investors to gain a majority in our small building, legally turning our home into a hotel. This is our cautionary tale so you can avoid our costly mistake and understand the risks before you buy.