The judge granted a permanent injunction, allowing existing short-term rentals to continue their operations and advertising.