Hi Codfish,
This is a casting number, not an engine number. You are far from alone in confusing the two. Its very handy to know the difference between them as there are several casting numbers scattered about your bike.
A casting is always made from an individual pattern and that pattern has its own individual number. This is to prevent mistakes in the foundry. The pattern maker deliberately attaches raised numbers to the pattern so every casting made from it shows the same pattern number over and over. A raised number cannot be confused with a number stamped into the casting because it an integral part of the casting. If you look around your engine you may find a similar style of raised number on both the barrell and the cylinder head as these are castings also.
Engine, frame, and gearbox numbers are identifying numbers and unique to each item. No two have the same number. They serve a different purpose to the casting number so are visually different from them.
Just remember casting numbers are always raised and part of the parent metal and identifying numbers are always stamped in to the metal. Casting OUT, identifier IN.
Once again, you are far from the first to confuse the two so hopefully this long explanation will help other people also.
Cheers,