The Scottish Parliament has narrowly passed legislation which critics say will “exacerbate” family tensions and could effectively pit parents agai...