In a claim by or against the Crown an appointment of a referee may not be made without the consent of the relevant Attorney General.