Auto follows your device by default.
The main family law of Japan is Part IV of Civil Code (民法, Minpō). The Family Register Act (戸籍法, Kosekihō) contains provisions relating to the family register (戸籍, Koseki) and notifications to the public office.