Have a jo coming up where I need to make cherry brackets the will be attached to a knee wall. The wall will support a soapstone counter top/bartop eating area. They is no access from the backside to use long lag screws. I was thinking about bed rail hardware.
If the knee wall is flush with the top of the brackets you could use recessed steel straps to secure the tops together, and screw with plugs at bottom.
One method would be to use a trim board that was dimensionally as long as the counter top and as wide as the brackets are tall.
The brackets are secured to the trim board with screws thru the back of the trim board and are positioned along the length of the board as desired.
Then the trim board is secured to the knee wall framing with screws in counter bored holes which are then filled.
The cherry brackets, I assume, are to be finished to match other woodwork in the room while that trim board could be painted like the knee wall to make it blend in somewhat.
Of course this assumes the corbels are wider than the fasteners, which are 5/8". You'll need to turn them upside down, attach the part with the hook to the wall and the part with the slots to the corbel. Since you can't cut a mortise in the wall for the part with the hook, you will need to cut the mortise in the back of the corbel deep enough to recess both halves. The two parts will need to be offset vertically when locked together, and the mortise in the corbel adjusted accordingly, but you can figure that out with the parts in hand.