Eww, Yuck, I missed this
Via TJIC, from that California homeschooling court decision, as reported in the San Francisco Chronicle:
"A primary purpose of the educational system is to train school children in good citizenship, patriotism and loyalty to the state and the nation as a means of protecting the public welfare," the judge wrote, quoting from a 1961 case on a similar issue.