You can turn those around and they'll still work. The pinout diagram is correct; it just doesn't matter which way those particular 4-pin SPST relays are installed. Otherwise the pins would be offset so they can't be installed backwards which would most likely start a fire or at least immediately blow fuses. If you look at that diagram on the side of that relay, 85/86 is the side that gets energized and 30/87 is the side that is the switch that closes when 85/86 gets energized. If you turn the relay around, 85/86 still go to the same 2 locations but 85 goes to where 86 was and 86 goes to where 85 was, and it's the same for 30/87. It doesn't matter in this instance when these relays are used this way. The only way that would matter is if 87a is used; that's where the other side of that switch contact rests when the relay isn't energized. The flyback diode is only used on the 5-pin relays even if pin 87a isn't used, for the same reasons stated above. It's used in instances where the circuit needs to be protected from voltage spikes and obviously these instances don't need that protection.