This was rotten of Oregon, but there are generally laws like this to make sure everyone knows what to expect from an engineer. Of course it looks rediculous that a Swedish engineer wasn't allowed to point out a flawed system (I agree it is a violation of free speech), but they also can't take his background at face value, just like someone with a medical degree from Cuba probably can't practice medicine in the United States without going through licensing and taking classes to make sure the degrees truly are equivalent.