Well QR recorded the song, did Slade hold up a gun to their heads to record it. I doubt it.
Their manager loved it. And he refused to sign off on the album (their first major label album), and got the record company to back him if it wasn’t on there. So no Slade didn’t, but when the record label says “we don’t actually have to release this album you know” that’s pretty much a gun to the head. Of course from the company’s perspective they were right, record company revenue isn’t effected by who wrote a song, that’s just who they write the residual checks to, and the company made BANK.