Judge Gonzalo Lopez Quintana instructed him to impart four hours of soccer classes each week for a year at a football club in Rosario as part of a probation order.
Local reports at the time of his arrest said Matias refused to identify himself to officers when he was stopped on October 3 last year.
Two officers were reportedly left slightly injured and Barcelona star Messi`s sibling suffered a cut to an eyebrow during a struggle.
He was held at a police station for several hours before being allowed to return home.
Lionel Messi (pictured), 29, and his father Jorge were handed a 21-month jail sentence for tax evasion at the start of July.
It was not the first time he had a run-in with the police. In October 2008 he was arrested for allegedly having a loaded gun in his belt.
In April 2011 he survived an assassination attempt, diving for cover as a gunman on a motorbike sprayed bullets at his house.
Police found four 9mm handgun rounds lodged in the building.
Lionel, 29, and his father Jorge were handed a 21-month jail sentence for tax evasion at the start of July.
A Spanish court found the Messis had evaded £3.19million on the footballer`s image rights from 2007 to 2009.
Lawyers for the star announced after the sentence they would appeal and neither of them is expected to serve any prison time because in Spain jail sentences of less than two years for first-time offenders are normally suspended.
More about: