@benwiggy is showing a solution with two bars and horizontal spacing adjustment. It’s probably the easiest way.
What I do here allows you to avoid spacing changes and fake bar, since I create a real time signature — but it’s a bit more complicated.
And you need to make sure that you don’t need the 7 elsewhere in this project!