R (W, a child by his litigation friend J) v Secretary of State for the Home Department and another