Yes it is dangerous if you don't know. I was unaware of the two different systems, so I checked and sure enough, they are opposite each other.
http://www.sailingissues.com/navcourse9.html#direction
I never noticed that in any Silent Hunter game. When leaving or entering port at night I just stick close to the lights that are on my right, and pay no attention to the color.