To replace the Japanese manufactured R/H handlebar grip on XBR 2004 remove allen key bolts from right hand throttle cable housing and lift away housing.
Lift the front cable from the housing, tape it and mark it front then lift the rear cable from the housing and tape that and mark it rear.
Note the position of the cables in the grip. With the mounts in the grip pointing upward the rear cable follows the routing in the rear housing around the bar to the rear mount while the front cable goes round the front of the bar to the front mount.
Remove grip from bar and repair any damage to the bar. Mine is slightly crash damaged from a slip on a smooth and greasy roundabout at Tesco Bursledon so I'll file that bar smooth to avoid any sticking.