I will agree with John {Hotline1} that nonelectrician done this work and this is not a wise set up.
However I did spotted two conducts there IMO I know one for gate power the second one may be used for intercom { some area will use that } or sepertated feed for something else { just hope no one have a bright idea to throw low voltage system intermixed with line voltage in there.}
Merci,Marc