Judge says challenge to short-term rental restrictions could be raised again in the future 'in appropriate circumstances'