Revert !980 after fixed pybind11 appears
In !980 we introduced temprorary workaround, which needs to be removed after this bug will be fixed in upstream pybind11 progect: https://github.com/pybind/pybind11/pull/5999
issue