In addition the emperor would use the Senate as a judicial court, and trials for high treason were sometimes referred to it. Ordinary crimes would also often be judged by a court consisting of the prefect of the city and five senators chosen by lot. The Senate also maintained constitutional significance in that officially emperors were to be chosen by the military and the Senate, although succession was almost always hereditary.