Sucks. I think he was in the wrong though. If I took the time to put up a gate and no trespassing sign, that means I don't want stranger at my door.
I hope he heels up well and chalk it up as a learning experience.
Legally I think the gate has to be locked, even with a no trespassing sign, but I could be wrong. The dog sign though was the additional warning.