Traditionally, the only way in which a bastard child of a Portuguese monarch could have been made legitimate and take his or her place in the line of succession was if his or her parents subsequently were married.