Monasteries used as prisons