R on the application of T and S (a minor by her next friend T) v Secretary of State for Health and Secretary of State for the Home Department