If it appears to the court that a witness or a party may have grounds for making an application or objection under a provision of this Part, the court must satisfy itself, in the absence of a jury if there is a jury, that the witness or party is aware of the effect of that provision.