Government’s legal aid proposals unlawful, says legal expert