They were enforcing the First Amendment not their belief.
Just and FYI, Treaty of Tripoli (1797) ratified by President John Adams and US Congress unanimously (which sat many founding fathers) contained this language.
"As the Government of the United States of America is not, in any sense, founded on the Christian religion; as it has in itself no character of enmity against the laws, religion, or tranquillity, of Musselmen; and as the said States never have entered into any war or act of hostility against any Mehomitan nation, it is declared by the parties that no pretext arising from religious opinions shall ever produce an interruption of the harmony existing between the two countries."
Happy Solstice Everyone.
Thanks for the history lesson.
A treaty between two nations is not an enforceable law and, thus, has no bearing on this matter.
But, since you brought it up, let it be known that this treaty was in response to Islamic terrorism against the ships sailing under US flag in the Mediterranean.
If any lesson is to be taught, it is that wimping out in the face of evil didn't work in Tripoli in 1797 and it still doesn't work in Benghazi in 2012.