The senate, while sitting as a court of impeachment, has all the powers and privileges conferred upon it by the constitution as a house of the legislative assembly or the laws passed in pursuance thereof, but imprisonment may not extend beyond the dissolution of the court of impeachment.