This Treaty of Tripoli was written by a diplomat, so what the Mussulmen required a treaty with a disclaimer about the US being 'in any sense' a Christian nation. So what, you think it a new thing to make 'peace' treaties out side of the name of Christ?
http://www.stephenjaygould.org/ctrl/treaty_tripoli.html "Authored by American diplomat Joel Barlow in 1796, the following treaty was sent to the floor of the Senate, June 7, 1797, where it was read aloud in its entirety and unanimously approved. John Adams, having seen the treaty, signed it and proudly proclaimed it to the Nation."