Originally Posted by
Aviatrix
With an expired residence permit I'd play safe and go by train...
As Sweden is an EU member state and the OP has a Swedish ID card, a valid, up-to-date Swedish ID card should be hassle-free. I suppose it will become clear at online check in when the ID info is entered.