Nothing contained in this chapter shall be construed as forbidding any police officer or probation counselor from immediately taking into custody any child who is found violating any law or ordinance, or whose surroundings are such as to endanger his health, morals, or welfare, unless immediate action is taken. In each of these cases, the officer taking the child into custody shall immediately report the fact to the court and the case shall then be proceeded with as provided in this chapter.
R.I. Gen. Laws § 14-1-22