Enforcement action could be taken against a new bar after it opened before receiving planning permission.