Judge OKs local charter school’s sale