5:34 AM PT -- A judge just sided with prosecutors and ordered that A$AP stay in jail for another week while prosecutors continue their investigation. They say they'll make a final decision next Thursday ... although given their original press release early Friday, it seems the die is already cast -- they're going to indict A$AP. Prosecutors say they must keep the rapper behind bars because he's a flight risk. 

Again, the man A$AP allegedly assaulted -- the man who assaulted him and others first -- hasn't spent a minute in custody. As for why prosecutors need more time when it's all on video ... beats us. That means Rocky will be in jail for 3 weeks before any charges are even filed.

3:20 AM PT -- Now check this out ... Swedish prosecutors just issued a REVISED press release and have taken out the original statement that they will indict A$AP Rocky. Now it just says they need more time to investigate so he should stay in jail. So the question, was it a mistake, or was it a mistake that they just inadvertently played their hand?

A$AP Rocky[1] is going to be indicted ... that's what prosecutors just said in a press release -- so what makes this bizarre case even more bizarre and abusive, they say they want him to stay in jail because they still need to investigate to figure out what happened on the streets of Sweden. So, why the hell have they already decided to charge him if they haven't figured out the case?

It's the latest twist in an outrageous case. The judge will hear the matter in a couple of hours.

Read more from our friends at TMZ