I'd say you'll need to hire a new attorney to get this resolved.
Step #1, your new attorney will contact your immigration office to check what exactly they are after. They speak the same language, so this should be straightforward.
Step #2, your new attorney will contact the court in question and get whatever letter you need, explaining why you need it.
Assuming it's really just a formality and there's no material obstacle to your ongoing stay in Thailand, that should get things sorted.