My use case was a little more complex and I tried to simply it, but it seems I simplified it too much. And of course, after an hour from my posting I came up with a solution, which while not perhaps the prettiest one, works and is reasonably easy to maintain.
A website has a WPForms form for subscribing a newsletter. Actually there need to be six forms for the same thing. The site has subsections in three languages and it seems that there must be two variants of the form for each language depending on where the form should be displayed on a page, whether at the bottom or at a sidebar (do not ask why, I did not create the site).
What I ended up doing was six forms (three languages by two CSS settings), but only three shortcodes (for three languages) to output the form title and description and the shortcodes have a custom parameter for picking up the right variant of the form.
Anyway, thank you!
PS. This is an awesome plugin.