I'd bet money that it's just a firmware signature check; and magsafe batteries are signed (since they're genuine).