They should definitely respect the licenses, that being said, Microsoft owns GitHub and can be a bit quick in what they ban. It also means they are beholden to US laws, which could turn anti FOSS-AI in the near future.
This is a smart move and I honestly hope more countries start doing it. It would probably lead to a better ecosystem.