Wikipedia
Prefection
Prefection, also promotion of a daughter to a son , was a royal prerogative in the Kingdom of Hungary, whereby the sovereign granted the status of a son to a nobleman's daughter, authorizing her to inherit her father's landed property.