It is entirely the traveler's responsibility to understand the requirements for stay and local laws of a foreign country. Ignorance can only get you so far.
The immigration officer – who has absolute power over entry – neither asked anything unreasonable of him nor made any false accusations. This is despite the reporter technically having broken the law. He got off lightly, since the fine for not registering within 24 hours after arrival can be up to $300.