An officer who takes a minor into temporary custody under the provisions of Section 625 may do any of the following:
In determining which disposition of the minor to make, the officer shall prefer the alternative which least restricts the minor's freedom of movement, provided that alternative is compatible with the best interests of the minor and the community.
Ca. Welf. and Inst. Code § 626