The issue is also more complicated than who made first use. You have to look at all of the facts surrounding the use made by both entities of the trademark, and the timing of that use. Prior registration of a state trademark can help to establish legitimate rights in a domain name, however, as can prior common law use.
Multiple entities can lay claim to the same mark IE- Apple... So for WIPO, it is used to determine claims to a particular name,which two parties can have..