Court of Appeal says licences can only be refused over premises-related issues such as safety, sanitation, causing a nuisance, or zoning compliance.