Yes they call it a sea, because it is not an ocean, I don't understand why you call me a pendant. More importantly though, you might not be following the news in Europe, but many immigrants try to cross the Mediterranean in order to get into Europe, and many unfortunately die. So it is not that it keeps anyone away.
I brought up the Mediterranean specifically because of the news reports I have heard about all the people dying while trying to cross. If "many unfortunately die", it sure as fuck seems to be keeping some people away, by killing them. I'll also assume that the serious danger of crossing the sea prevents some people from doing it.