Class follows what the product is for. A product that merely includes a firewall is not therefore Important II.
The Commission's non-binding guidance says a product has only one core functionality when its conformity assessment route is decided. The same guidance classifies a module that is also made available separately by its own core functionality, and a module supplied only as part of a larger product by that product's.
Implementing Regulation (EU) 2025/2392 gives the official technical description of each category.