It seems like there's a lot of questions about pokemon showdown...........
As it says in the rules (#0.8), Showdown is an exception to the unofficial games rule. This is because it's an essential aspect of the competitive community and many people on our site use it.
As for why the official games rule exists in the first place: