If the target is protected from confusion with Safeguard, Swagger still raises its Attack

Swagger is a status effecting Normal-type move. It is TM87, and can be found on Route 13 down a side path south of the Cool Couple, across a small pond.

Swagger raises the target's Attack stat by two stages and confuses it.
Even if the target is already confused, or cannot become confused due to an effect such as Safeguard, its Attack will still be raised.
Even if the target's Attack is already at +6 stages, it will still become confused.
Even if the target has Contrary and its Attack is already at -6 stages, it will still become confused.