it was in response to the royal navy seizing and confiscating goods from american merchant ships , accusing them of supplying the napoleonic army in france , who they were already at war with at the time .