Just did this on a ACE 29.4, (your swap looks a bit tighter) and you WILL need a longer screw. I happened to have a box of TV mounting screws with (lucky) me at the campground when I did the swap.
I agree that the OP's space is tight and longer screws will likely be needed. I would buy 2 of the next size longer than the 16mm. I am advising the OP to simply go to ACE Hardware or the equivalent. On this forum I like to recommend ACE Hardware as you can't go wrong with ACE
With that said, I had to argue with some RV experts because they wanted me to add a block instead of a longer screws. I listened to them, but didn't do as they said.
FWIW, my setup from 2 AGM to one Lithium looks like the below. Excuse the dirt as I didn't get a chance to clean out the battery compartment.
If OP wishes to go for the gold, now is a good time to add the SmartShunt. I had no idea how much I would use that thing. I got really lucky going with the 50 amp Victron DC to DC over Renogy. Pay more, get more because I now have a small family of 3 Victron products, Orion XS 50 amp, 15 amp Solar Controller (Portable in my application) and the Smart Shunt.
It just nice to know you can go days and have the SOC on your phone tell you what time you will be down to 14%. You can easily plan around. I only have 56 lbs of batteries. Right now a 2nd 300ah Lithium is not even a nice to have, because if I can't run the ACs it has no real value for me.
Update:
It is worth noting that all of this was done as a DIYer step by step over a period of months as I learned what those things could do, especially the DC to DC. I think many get caught up thinking a DC to DC is only to protect their alternator from burning up, that may be true in a small number of cases, but some miss the real value of steady control of 50 amps max based on your preferred battery profile. It turns itself on/off automatically, and adjust the current as required. Works in tandem with my 45 amp Lithium profile converter when genny is running. If I am low around 83%, we can charge up fast.