We can have both freedom and safety by requiring re-certification after modification. Like when you heavily physically modify a car then you can still drive it after the authorities decide it is safe.