I created an EMPTY instance of UPDM 2018 in a file Geodatabase, modify some structure of the data model (move some feature classes, create the LRS). using ArcGIS Pro 3.1.2
Then Export the schema to an xml document .
I tested the xml document, importing it to a brand new file geodatabase, the import operation finished with any issue, then I proceed to check the FC's, the LRS, tables.....all is there.
Then I proceeded to create an enterprise Geodatabase, and try to import the xml document, but the process failed:

I tried to execute it in python, and receive the same error code, but with another message:

I have tried changing the parameter from "Data and Schema" to "Only Schema"
but the result is the same.
What should I consider to make this work?
Attached is the xml.