Britney Spears apparently had a gay old time at the annual gay White Party held in Palm Springs, California over the weekend.

The pop star made an unscheduled appearance at the close of the event to support the signer Agnes who won the Swedish Pop Idol series in 2005.

Spears and Agnes share the same manager. The Sweedish pop stat was acompanied on stage with a gaggle of go-go boys.

While there Spears tweeted: “”At the White Party in Palm Springs. Sooooo fun!!! About to check out Agnes.”

Last year, Spears reinforced her status as a gay icon by filming a spoof perfume advertisement for gays.

The perfume, named ‘Mo’, has the tagline “One spray and the gays will run your way!”

The singer made the 41-second video for Logo TV network’s NewNowNext awards ceremony, at which she is set to receive their Always Next, Forever Now award, and gently mocks her own status as face of her own perfume range.

The advert shows Britney testing out new fragrances and then splices together some of the raunchier scenes from her own music videos.

A dramatic voiceover delivers the lines: “With her first perfume she was curious. Another scent allowed her to believe. And the next put her in control to her live out her fantasy.”

Images of gay and lesbian couples appeared as Britney introduces the seemingly unisex fragrance entitled ‘Mo’.