It’s not 100% guaranteed that they will not scam but you will lessen the chance if being scam since they are registered under a company that has details of their operations legal information.
While anonymous casino that doesn’t have license can exit scam out of thin air without any track or way to file a complaint against them.
So licenses casino is always preferred by players that wants to have some sense of safety instead of relying to trust basis. We are already done on that era, Even Bitcoin is now being regulated through exchange.
Everything can changed very quickly even legislation. The rules change too.
There is no garanty at all even if you play in licence casino that the legislation will not change and the casino will not be closed.
Sometimes even licenced casino do not pay big wins and are closed. In such case nobody can get back their money.