This is often repeated, but sometimes in reverse: for example this Guardian article from 2007 states the Scotsman must be holding the bow and arrow.
Unlike the Welshman in Chester question, I can't see any acknowledgement by York City Council that there is any historical record of this. But such instructions have often been given during wars and there were many Anglo-Scottish wars, so it is not impossible; such instructions cease to apply once peace is concluded.