PUTRAJAYA: The High Court judge who ruled that teaching Tamil and Mandarin in vernacular schools was constitutional had erred when he said that the usage of the languages at the schools was protected under Article 152(1) of the Federal Constitution, the Court of Appeal heard.