No, but if I wander into your garden and "injure" myself, I can sue you for damages. You will be held negligent for not properly protecting yourself from preventing other people from injuring themself on your property.
But you can totally sue anyone for anything, and that makes for entertaining headlines - even though if plaintiff lost promptly
It is possible this principle applies to other countries and other things than pools.
I wasn't sure if it is the same or similar principle in Russia or a different one that requires active care for a burglar. Unlabeled chemicals causing liability for a burglar seems extreme to me
However my favourite example is the law that allows any bee keeper to enter any private property if they are pursuing fleeing bee swarm.