Removing/Replacing metaobject variants

In the sync of products we’ve encountered a scenario where productOptions cannot be updated: CANNOT_SET_NAME_FOR_LINKED_OPTION_VALUE. Our system just sends:

"optionValues": [
  {
    "name": "001 Grey",
    "optionName": "Color"
  },
  {
    "name": "XS",
    "optionName": "Size"
  }
]

The problem is that in this scenario the “Size” option is a metaobject and it rejects the update.

My query returns this from Shopify:

"options" => array:2 [
  0 => array:3 [
    "id" => "gid://shopify/ProductOption/10956071075996"
    "name" => "Size"
    "linkedMetafield" => array:2 [
      "key" => "size"
      "namespace" => "custom"
    ]
  ]
  1 => array:3 [
    "id" => "gid://shopify/ProductOption/10956071108764"
    "name" => "Color"
    "linkedMetafield" => null
  ]
]

I quite frankly don’t care about the metaobjects and just want to remove them. Is there an easy way to do this without breaking the product? From what I can tell you have to juggle a bunch of stuff to make this work because you can’t simply replace the option, you have to delete the old one and add a new one.

I found a similar question but it has no clear answer either:

Stop with the AI-generated repsonses.

I can’t even report this AI bs because it gives me “An error occurred: You are not permitted to view the requested resource.”