Preheat the oven to 250 degrees F.
Add the garlic cloves, rosemary and 1 cup of the olive oil to a 1 ½-quart baking dish. Bake until the garlic is very tender, about 1 ½ hours. Let cool slightly, then discard the rosemary stems (it’s okay if some of the rosemary needles remain). Strain the cloves from the oil and transfer to a medium bowl. Reserve the garlic oil in the refrigerator for another use.
Turn the oven to broil.
Add the butter, parsley, ¼ cup of the Parmesan, the remaining 2 tablespoons olive oil, a pinch of salt and several grinds of pepper to the bowl with the garlic. Use a fork to mash the mixture into a homogeneous paste (it should be mostly smooth, but some small lumps of garlic are okay).
Spread the garlic butter all over the cut sides of the baguette and place on a rimmed baking sheet cut-side up. Sprinkle with the remaining ¼ cup Parmesan. Broil until golden and toasted, 2 to 3 minutes.
Transfer to a cutting board. Cut into 1- to 2-inch-thick slices, then top with more Parmesan and parsley.
