Sort:  

yes, it is done to protect the port that is just behind, those "big cube things" protect more than 3 km of coast.

Its almost like a modern art installation :)