Doesn’t this make sense though. If a name isn’t changed legally, then it can be challenging to try to figure out what name to use.
That being said, it seems like there should be an ability to use a nickname without any official docs. Does this mean I can’t put “Bill” in the yearbook if I’m born “William.” We also had a lot of kids go by their middle name so this law seems to preclude that.