If the `color' package is loaded /after/ us then it redefines
`\color@begingroup' and `\color@endgroup' to actually do things, but it
won't redefine `\fn@endnote' for obvious reasons. As a result,
`\fn@startnote' will now open a colour group, but nothing will close it
and one ends up on a debugging odyssey.
% Footnotes are finished off by this macro. This is the easy bit.
%
% \begin{macrocode}
% Footnotes are finished off by this macro. This is the easy bit.
%
% \begin{macrocode}
-\let\fn@endnote\color@endgroup
+\def\fn@endnote{\color@endgroup}
% \end{macrocode}
%
% \end{macro}
% \end{macrocode}
%
% \end{macro}