The headlights relay contains actually a few relays and some electronics.

Here is a few pictures: