I think the answer is Judicial Review
Judicial review is the doctrine under which legislative and executive actions are subject to review by the judiciary. A court with judicial review power may invalidate laws and decisions that are incompatible with a higher authority, such as the terms of a written constitution.