Using a rivet nut in a riveted joint, you create an intact thread to which you can easily attach other components, such as the EVBIKE frame battery holder.
There is also a video available in the description, which shows the riveting and subsequent attachment of the battery holder to the wheel frame.