In the final scene of the episode, when the Enterprise senior staff bid farewell to Scotty, there was a quick scene which didn't make sense. Deanna hugged/kissed Scotty even though she hadn't appeared in the episode up until then.
There was a filmed scene with Deanna and Scotty which was cut from the final version.
One more point about the holodeck scene in TNG "Relics"
When Scotty entered the holodeck, the shot of the bridge was from TOS' 'This Side of Paradise", which had a rare shot of an empty Enterprise bridge.
The only parts of the holodeck scene which were actual physical sets were the captain's chair Scotty sat in, the chair Picard sat in, the railing, turbolift door and a workstation in the back of the bridge behind the railing. The rest of that scene created via VFX.
I remember being blown away back in the '90s when I first saw the holodeck scene of the TOS bridge. I grew up watching TOS and that was the first time the bridge was recreated almost to the letter.
In a way, "Relics" paved the way for episodes like DS9's "Trials and Tribble-ations" which used VFX to integrate TOS into then current Trek.
I know people get upset at Scottie being disrespected here, but I can't help but think how annoying he is being. 😂 Like, okay, grandpa, let's get you back to bed.