The court shall direct that the party prevailing on any motion under this chapter be awarded the reasonable attorney's fees and costs of making or opposing the motion unless the court finds that the other party acted with substantial justification or that other circumstances make the imposition of attorney's fees and costs unjust.
Ca. Civ. Proc. Code § 405.38