Anna-Leena Virtanen, jurist