Dear @luckyjoker,
you should either have a Aufenthaltsgestattung or Duldung. Duldung is usually nothing you apply for but which issues the foreigner's authority automatically.
In case they "forgot" to update your Ausweis: Call them and ask for renewal.You mentioned that" the court ruled you cannot be deported until your case is solved". This is a hint for me that you are not yet obliged to leave the country and should thus be holding a Aufenthaltsgestattung.
Anyway: Both papers should allow you to open a bank account.
Regards
mbeon-Ruth