Problems with gift authorships on papers and how to solve it
You should not agree to submission of a manuscript that includes an inaccurate author list.
Your coauthors should not submit a manuscript without your permission.
If they do that knowingly, you should tell the editor the manuscript was submitted without your permission.  This will lead to rejection or retraction of the manuscript.
You should be transparent with everyone involved about the author list.  People who might think they should be gift authors should not be surprised when the paper is published without their name.

In your case, it sounds like your colleagues cannot retaliate against you for doing the right thing.  Usually gift authorship occurs in a situation where retaliation is a possibility.