A Nigerian migrant was granted the right to stay despite the judge acknowledging she was not honest about her political beliefs.