Student who shaved head for cancer charity removed from school lessons

As somebody with no experience with British school kids (or Welsh, I suppose, in this case), what would the reason be for this part of the rule, then?