Can an inheritance signed before a foreign notary be registered in Spain?

Person reviewing legal documentation related to an inheritance granted before a foreign notary.

It is increasingly common for the deceased to have lived abroad, for the heirs to reside in different countries, or for the estate to be distributed among several states. In this context, the following question arises: if the division of the inheritance (or the acceptance and adjudication) is formalized before a foreign notary, can it be registered in the Land Registry?