I’m seriously confused by the US law system and apparently, also by the Swedish one. At least I found out that in my native Germany “jails” (that’s how it’s translated) don’t exist any longer but apparently did until 1970. Germany has now only prisons, someone who is kept in custody prior to the trial is in exactly the same building as those who are properly in prison.