Court grants care order for vulnerable teenager