The royal was all smiles as she tied the sparkly crown around her head and sat with the students