Relays have been becoming commonplace in motorcycles for some while now and it’s not unusual to add them to an early bike to improve wiring issues.
A relay is an electro-mechanical switch. If you want to switch a high current, you need a big switch which isn’t always practical, e.g. having a big, lumpy switch on handlebars is very rarely convenient