What was the justification. Without failing the initial test there was no probable cause to take you anywhere. If you pass at the time of your first test then you fail an hour later you are not impaired at the time of the stop.
Sounds like some letters to their superiors may be in order or even possibly a lawsuit.