Thanks. Yes, the gap is an intentional design. The diagram that I posted earlier shows a spacer (part A) used with each of the two screws to maintain that gap.
My guess at this stage is that the gap allows water to flow out and moisture to dry up. If you are considering some foam/rubber then may I suggest to make sure water/moisture is also allowed to escape from that space. Otherwise, you may risk rusting at that corner of the bodywork?
Having said that, I recall reading somewhere that the BF1 body panels are some kind of aluminium alloy and thus rust may not be an issue?