The professional or other costs payable by a prosecutor or accused person in accordance with an order directing that the amount of costs is to be determined under this section are to be determined--
(a) by agreement between the prosecutor and accused person, or
(b) if no such agreement can be reached, in accordance with the legal costs legislation (as defined in section 3A of the Legal Profession Uniform Law Application Act 2014 ) (with or without modifications prescribed by the regulations).