Dear @Moses90,
Welcome back to the Wefugees Community and thank you for reaching out to us.
First of all, it is good to hear that you started the training - well done! This is an important step forward!
However, from the information you are giving above, it is hardly possible for us to understand the purpose of the court appointment.
As you already hired a lawyer, it will be the best to address your concerns and questions to him/her. If you cleared your identity, it is rather unlikely that the immigration office will revoke your work permit. We discussed this topic on this platform here before.
Again, I highly encourage you to contact your lawyer - advising you is his/her job!
In any case, please also don't hesitate to get back to us with any further questions!
All the best,
Meike