I had the same issue with mine. The new battery (Yuassa) is more powerful than the old one & it fits in the battery tray, but the lid won’t close.
I put the lid on as best I could (front clips won’t close), then I taped it up to close the gap. To this day it hasn’t come off.