If your lawyer is not effective in this situation, you may have made an error in selecting your lawyer, and so you can always discharge your lawyer and retain a new one. Yes, that's costly, but may be less so than sticking with an ineffectual lawyer.If the judge's conduct is obviously unfair and unreasonable there also may be the right of appeal to a higher court. However it has to be pretty arbitrary and capricious in matters of discretion.