Gibraltar will go to the Court of Arbitration for Sport in May to fight to join Fifa and enter 2018 World Cup qualifying.

The Gibraltar Football Association’s appeal will be heard from 21-22 May to challenge Fifa’s refusal to grant membership, the court said .

The hearing is scheduled one week before the Fifa Congress, which must approve new members.

Gibraltar could be accepted on 29 May as Fifa’s 210th member, then enter the World Cup qualifying draw on 25 July. It is unclear if an urgent verdict will be given. If the court panel rules in Gibraltar’s favour, Fifa and its members would likely also have to allow Gibraltar a seat at the congress in Zurich.

“Fifa is not in a position to comment, nor can we make statements about potential scenarios,” the governing body said in a statement.

Gibraltar officials have previously said they felt Fifa was treating them like a “pariah state”. Fifa rejected Gibraltar’s application last September because the British territory was not an independent country as required by the governing body’s statutes.

Those rules were updated in 2013, two months before Gibraltar joined Uefa despite longstanding opposition led by Spanish football leaders.

Spain disputes sovereignty of the territory it ceded to Britain more than 300 years ago. Gibraltar needed an earlier CAS ruling to join Uefa and take part in its competitions. In its debut campaign, Gibraltar is last in its 2016 European Championship qualifying group, which includes Germany and Poland. It has lost all four games, conceding 21 goals without scoring.