LibreOffice Writer: connect style to HTML <pre> tag

Hi,

In LibreOffice Writer, I would like to connect the HTML-tag <pre> to a custom style when copy/paste articles from the web where the HTML-tag <pre> is used.

Currently, the <pre> tag seems to be “hard-locked” to a predefined style in LibreOffice Writer called “Preformatted Text”.

How can I decouple the <pre> tag from that predefined style and connect it to my own custom style?

Best,
–Geert