I hope so, but it’s still wrong to tell them they are not allowed to inform their students.
Most schools, including high schools, have screwed up administrations. Teachers typically accomplish what they do in spite of the administrators.