In any civil case or proceeding in which a party claims a privilege as to a communication necessary to an adverse party, the court, upon motion, may dismiss the claim for relief or the affirmative defense to which the privileged testimony would relate. In making its determination, the court may engage in an in camera inquiry into the privilege.
Fla. Stat. § 90.510