I'm not sure if this question is phrased correctly; I'm happy to accept any solution that accomplishes my aim.
GOAL: I am trying to print the language switcher block in the header of my theme without the block-related classes, because the theming for these classes assumes that the block will be printed in the main content area of the page.
Usually, I've been adding the language switcher block as a widget using the Panels module. When I do this, no block-related classes are printed, and it's much easier to style the CSS. However, I can't add the widget in the header because I'm not using Panels Everywhere and Panels only overrides the main content area of the page.
I looked in locale.module and tried calling the block directly via
local_block_view(), but this still adds the CSS classes that I don't want.
Is there a way to print the block without the block classes? Or, barring that, how can I remove the classes for this specific block?