A San Bernardino County school district must immediately comply with a previous court order allowing a parents group to convert a failing elementary school into a charter, a Superior Court judge ruled Friday in a case is seen as an important test of California’s “parent trigger” law.