A pension reform that makes it impossible to back out of the funds is at variance with the law, most lawyers say.