The palace didn't have prisons, as those were down the road.
For those hoping to go from the sublime to the sinister, the palace prisons, neat and tidy today along their narrow corridor, become all too romantic with their 17th-century Baroque Bridge of Sighs (Ponte dei Sospiri).