Berberis?

Berberis?

Observation - Berberis?. Description: Has the group of three thorns like barberry, but the leaves seem wrong. What could it be please?

Has the group of three thorns like barberry, but the leaves seem wrong. What could it be please?