A foreign paedophile who abused his step-daughter and two of her cousins has been allowed to remain in Scotland – as deporting him would breach his right to a family life.