But you can't use it against someone for just entering your premises illegally. It needs to be a clear and present danger.
ECHR necessarily guarantees the right to shoot some intruders in some situations, but it's kind of impossible to know which situations those are except after the fact.