ah, yes. the first part of code is from the EDCT (export_descr_character_traits.txt) while the other is from EDA (export_descr_ancillaries.txt). I've suggested you change only the conditions in EDA because they are simple and straightforward but indeed the very place of coronation is defined in EDCT. so try to change the EDCT, in the same place.
change SettlementBuildingExists to "chapel" or "small_chapel", and if there's London - into Edingburgh.