Law Society: Sustained investment needed for courts to recover