Override static method defined in C++

Godot Version

4.3

Question

In GDScript it is possible to redefine a static method in a derived class.
For example we have Base class with a static method that returns &“BaseMethod”.

class_name Base

static func method() -> StringName:
       return &"BaseMethod"

And then we have a Derived class that redefines this static method and returns &“Hi from derived”


class_name Derived extendx Base

static func method() -> StringName:
       return &"Hi from derived"

This functionality is very convenient in GDScript.
Is it possible to allow overriding static method defined in GDExtension?
I have tried just binding a static method, but then I get an error that this method is already defined in native code and this overridden method will not be called.