How to change font style of heading number?

I want to implement the following heading styles into my legal paper template in Writer. I have followed the suggested course of using the Outline Numbering tool with paragraph styles appropriately named and modified to follow the required heading format. But I do not know how to make the font style of the heading number non-italicised where the paragraph style for the heading is italicised. The problem heading levels are 2 & 3.

From Australian Guide to Legal Citation Third Edition

Heading Level: Attributes - Number; Text

Heading Level 1: Upper-case Roman numeral not italicised; heading in large and small capitals and centred

Heading Level 2: Upper-case letter not italicised; heading italicised and centred

Heading Level 3: Arabic numeral not italicised; heading italicised and left-aligned

  1. Define a character style for the number for each level.
  2. Tools > Outline numbering > Numbering. For each level select the character style from the drop-down-list “Character Style”.

I had thought of this. But it did not work at first. Here is how it worked for me:

  1. Follow your approach above
  2. Within the document make a heading - in my case heading 2’s number still appeared italicised
  3. Modify the character style - weirdly, I had defined the font as “Regular” in my character style but it came up as “Italic” when I went to modify it after having made a heading and so I changed it to “Regular” and now it works