The settlement should be connected to a node which (in one way or another) matches the location of the settlement. The municipality on the other hand should be connected to a relation that shows its borders.
https://www.wikidata.org/wiki/User_talk:Hugoren_Martinako