When setting styles to an extended block that was saved as a pattern, it doesn’t remove the style that was there

When setting styles to an extended block that was saved as a pattern, it doesn’t remove the style that was there