The entire point is that all institutions in an Authoritarian country are under the control of the authoritarian leader/party.
If the judicial system has independent power and can hold the rulers accountable when the violate the law, it isn't an authoritarian regime.
This is precisely why the US has a system of checks and balances and why the judicial system is an important part of that.