I've never heard about the possibility to solve the problem through a family court.
Did you check all documents which you have with the responsible Standesamt in your place? They must give you an answer if your documents are ok or you need some change, for example a legalising procedure in Pakistan. In this case you can only send the document there and ask somebody to help you (if you have money, there are always lawyer offices which can help). As far as I know, for citizens of some countries it is possible to send documents to the German embassy there and pay money, the German embassy gives it to special lawyers to check. No idea if it works with Pakistan.
A family court is a part of a civil court (Amtsgericht), they normally have consulting hours in which you can come and ask your questions.