It's terrible getting a parking ticket, especially when you realize you got it because the officer chalked your tires. If you'd just come earlier and moved three inches forward, it would've hidden the chalk and saved you the ticket.

But here's something you probably didn't realize: When they chalked your tires, they weren't just planning to give you a ticket, they were violating your constitutional rights.

The U.S. Circuit Court of Appeals in Cincinnati just ruled that when a parking officer puts a chalk mark on your tires, it violates your Fourth Amendment rights, which prohibit unreasonable searches and seizures.

A judge wrote, "The city commences its search on vehicles that are parked legally, without probable cause or even so much as individualized suspicion of wrongdoing, the touchstone of the reasonableness standard."

They made the ruling after a woman in Saginaw, Michigan sued the city for violating her rights by chalking her tires. So now the suit goes back to a district court in Michigan.

So does this mean the end of chalking tires?

Well, now there's legal precedent that could make cities think twice, but it probably means they'll just figure out a different way to enforce parking limits, like taking a photo of your tires instead.

Read more at NBC News.