The court may, of its own motion, prevent admission of evidence if it thinks it may disclose privileged information. The government need not be a party to proceedings for privilege to be raised.
The court can, at its own discretion, prevent the introduction of evidence if it believes that doing so might expose sensitive information. The government's involvement is not required for the issue of privilege to be discussed.