I JUST went through this with my 17yo daughter. She was at her boyfriend's house. I finally told her that I was legally responsible for her and if she didn't want to come home and live by my rules until she's 18 then I needed to report her as a runaway and incorrigible to protect myself from being charged with child endangerment or whatever.
I then pointed out if I reported her that JV would decide where she lived, not her. The law also says she's supposed to be in school so JV would deal with that also.
Furthermore, I told her when she came home I wasn't going to put up with her bad behavior. She better come home and be pleasant (stop hitting and fighting with her younger sisters) or once again; I'd turn her over to JV.
We worked out the ground rules ahead of time and she's home now. She's been home 2 weeks now and she's been an "angel" so far. Fortunately, the boyfriend forced her to go to school also. She'd been skipping before she moved out and when I got the call I told the boyfriend and he has pushed her to attend school.
Good Luck. I know this is difficult. If its any consolation, this is my 3rd teenager and it really is a very common thing. They think they are 'grown up'. Like you said, they aren't. You have to remind them you are still responsible for them and you still call the shots; and the law is on your side.
I also explained to my daughter that the judgement part of her brain isn't developed yet and so her bad choices are more physical than mental; and not necessarily her fault. (I've read several things about that.) I've also explained this to my 2 13yo daughters as well. She said she appreciated knowing that, and it made it easier for her to rely on me a little more for her judgement calls.
The good news is that for some reason when they turn 18 they start turning back into that kid you were so fond of before they turned into satan at 13. LOL... I'm kidding of course, well sort of, but you get the idea.
Good Luck... If I can help any feel free to contact me directly. As I said, this is my 3rd one and I have 2 more to go.
A.