Legal privilege protected in landmark decision