Judge quashes government decision to exclude environmental groups from oil sands hearing.