Hi, it looks like a Lixus sp maybe paraplecticus? Except they like damp areas
From wiki french….
Adults are mostly active in spring and autumn [ 1 ] and they are the ones who hibernate.
The larvae live on the aquatic hemlock , the big berle and other apiaceae (umbellifera).
So your beans should be safe!!!!! 🙂
English wikipedia has little info but German and French might help with the search 🙂
https://fr.wikipedia.org/wiki/Lixus_paraplecticus
Breathe and try to be nice to people 🙂