Protecting the right to family life