A crash should not occur as a result of a corrupt message (which is how a message with a conflicting encoding appears).
On the client side, an error (non-OK grpc status) should occur if this field is set by the server. If a message comes back with a non-OK status, the value read from the message would be the default (0).
Doug