Unknown plant - possibly Skullcap?

Unknown plant - possibly Skullcap?

Observation - Unknown plant - possibly Skullcap? - UK and Ireland. Description: Plant is approx. 10cm high and has a spread of approx. 30cm. Flowers resemble Skullcap but I'm not s

Plant is approx. 10cm high and has a spread of approx. 30cm. Flowers resemble Skullcap but I'm not sure the description matches as the flower stalks aren't upright. It grows in an area that is regularly flooded, alongside Marsh Woundwort and Water Mint. Would appreciate any confirmation or other suggestions.