The entire profit is calculated against FSA. If you have made a profit of over €1000 (or double that, I don't know), then the FSA is deducted and tax is charged on the remaining amount.
Then you have probably made more than your FSA profit.
@Schlingroberto with great pleasure. I had the same experience with the advance lump sum in January. I calculated it completely wrong for myself, but I was quickly helped here