The man, 33, stole the tablet device from his son's preschool in Sjöbo, south-central Sweden. Shortly after, he handed it to a beggar who was sitting outside a nearby supermarket.
He then called the police and reported that the woman had stolen the computer from a car in the supermarket's car park.
Police then arrested the woman, who was detained for around 24 hours.
The incident, which occurred in August, was taken up by the Ystad district court on Tuesday and the man was charged with theft and making false accusations.
The prosecutor said the fact that the woman was defenceless was an aggravating factor in the case.
The prosecutor added that the woman's background and skin colour were also motivating factors in the 33-year-old's actions.
The man has confessed to the crime.