The castle treasure room entrance is in the Rivertown sewers, closer to the poor quarted entrance than Ars Magicana, south of the entrance to the Verdistis sewers. There are a couple doors in the Verdistis sewers which must be opened by levers from the other side.
Ars Magicana Sewers screenshot map