Read the following excerpt and answer the question.
Section 9 of the Canadian Charter of Rights and Freedoms states that everyone has the right not to be arbitrarily detained or imprisoned.
An arbitrary detention occurs when a person is stopped without reasonable grounds and without a lawful justification.
Courts have held that even brief investigative detentions must be based on specific and articulable facts.
According to the passage, when is a detention considered arbitrary?