Local officials are ordering Pink Floyd guitarist David Gilmour to remove a beach hut on his tony seafront mansion in England's Brighton and Hove -- and if he does not comply with the order, he will be prosecuted, the hut will be removed and the cost charged back to him.

The NME reports that the hut stores bicycles and is considered an eyesore in the posh area. Basically, those who reside nearby think it's ugly. Locals have complained about the visually unappealing storage shed and now a city council has given the classic rocker until Oct. 1 to tear it down. If he doesn't, that's when the prosecution will swoop in, the city will disassemble it and then send him the bill. Something tells us the city council won't shop around for the cheapest price quote, either.

"We have had a complaint from a member of the public and are legally obliged to act," a councilwoman said. "As the planning appeal has failed, we have told the owners that the hut must be gone by Oct. 1. If that doesn't happen, we would have no option but to issue an enforcement notice. Failure to comply with that means either prosecution or the council may remove the hut and charge the householder."

Looks like Gilmour has no choice but to yank the hut down to avoid further headaches.

This isn't the first legal trouble Gilmour has had to deal with in 2011. Earlier this year his son Charlie, 21, was sentenced to a year-and-a-half in jail for causing a "violent disorder" and engaging in public uprisings, such as throwing something at a car containing Prince Charles, smashing a window and more.