Reduced size of buffer
The previous buffer size caused an issue with very small objects (small lakes or ponds) in such a way that the result of the buffer operation would be totally deformed geometry, then causing large tiles to be classified as coastal down the line. It's not clear to me what the root of the problem is, but a small non-zero buffer size seems to do the trick.
Edited by Karsten Prehn