It is not the case that the switch does route and the firewall firewalls those packets the switch routes.