The Home Office is said to have rigorously contested the claim, which a judge described as involving 'exceptional circumstances'