If the tenant will not let you in to make repairs in the apartment, you can let the court know by filing an order to show cause to get another court date with the judge. You can discuss the problem with the court attorney to get more options. You also have the right to start a holdover case against a tenant for not allowing access for repairs.
Alternatively, your tenant may have brought you back to court claiming that you did not make repairs and asking the court to find you in violation of its order or the stipulation. In this case, the judge will hold a trial regarding whether you violated the court order or stipulation, and you can raise that fact that your tenant did not allow you to make repairs as a defense.