I am unaware of a state wide regulation or law concerning this subject. However, many cities and towns have ordinances governing tree placement, planting, growing, and cutting. Some also have "view shed" ordinances. Your plantings may run afoul of a view shed ordinance, if Palo Alto has one. I suggest you ask your question of the Palo Alto Planning office. They will know..