The principle of legality in the judicial process: constitutional interpretation