“…in any case where the court is satisfied that one party to criminal proceedings has incurred costs as a result of anunnecessary or improper act or omission by, or on behalf of, another party to the proceedings, to make an order as to the payment of those costs.”