A convicted foreign paedophile who abused his own granddaughter has been allowed to fight to stay in Britain on the grounds that he has the right to a family life.