This is a morphologically plastic species found on a wide range of soils, including coastal and damp substrates.
On my recent visit to Amsterdam, I saw plenty of very vigorous specimens of P. lanceolata growing alongside the canals.
There are no other candidate species if the photo was taken in Sweden.