If a party or other witness refuses to be sworn or refuses to answer any question after being directed to do so by the court in which the action is pending or in which the judgment was originally rendered, the refusal shall be considered a contempt of the court of the parish where the deposition is being taken.
Acts 1976, No. 574, §1.