Handle unrecognized tags properly in FFI binding