WAS this one of the last goods trains to visit Greenock Central station or was it a railway works train temporarily shunted off the main line?

Perhaps a rail enthusiast reader can provide the answer and the approximate date when the picture was taken.