Katy Perry was dealt a loss in her long-running trademark dispute with an Australian fashion designer named Katie Perry — but the case isn't over.