Monday’s court order for Spears to temporarily surrender 2-year-old Sean Preston and 1-year-old Jayden James to Federline came after she failed to produce a California driver’s license and missed a court-ordered drug and alcohol test. A temporary driver’s license was issued to Spears late Tuesday in Santa Monica, a DMV spokesman said. A court commissioner ruled Wednesday that Britney Spears can visit her two sons but did not reverse an order giving temporary custody to Kevin Federline, the pop star’s ex-husband, his attorney said. Superior Court Commissioner Scott M. Gordon was expected to issue an order detailing the visitation rights, attorney Mark Vincent Kaplan said. The order was not released by the time court closed for the day. Federline, 29, attended the hearing, but Spears, 25, did not. The two were ordered back to court Oct. 26 for a hearing. Flanked by bodyguards, Federline arrived in a blue suit and wearing a black patch over his right eye, covered by sunglasses. He had a sore eye, Kaplan said. 160Want local news?Sign up for the Localist and stay informed Something went wrong. Please try again.subscribeCongratulations! You’re all set!