Section 219R applies to a person detained under subsection 219L(1) or (1A) if:
(a) the detainee refuses to submit to a frisk search under this Subdivision; or
(b) the detainee, having submitted to the frisk search, refuses to produce a thing that he or she is required to produce under section 219N.