Practice for visual signalling, maybe.
. Many thanks for your information. No markings visible, will open up to see whether any markings inside.Hmmm all wood and brass so probably WW1 or before. Bullseye lens to produce a concentrated beam. Looks like a switch lever on top so probably a battery inside. But to operate the morse key properly you would have to stand in front of the light - strange. If it's WD it will be labelled and have a broad arrow embossed, if it's railway it will still have a label on it.