https://www.slab.org.uk/guidance/regulation-31-termination-of-legal-aid-where-conduct-of-assisted-person-incompatible-with-continued-grant/
We may stop making legal aid available in certain situations where the conduct of your client is incompatible with the continued grant of public funds. Under regulation 31 of the Civil Legal Aid (Scotland) Regulations 2002 legal aid may be withdrawn in the following circumstances:
Termination in these circumstances does not affect your client’s status as an assisted person during the period when the grant of legal aid was in force and does not entitle us to recover our outlay from them.
If legal aid is terminated in terms of Regulation 31A of the Civil Legal Aid (Scotland) Regulations 2002 we have the right to recover from your client the amount paid out of the Fund in respect of your fees and outlays less any amount received from your client by way of contribution.
In addition, regulation 31(b) allows us to stop legal aid if: